Keybinds

Is there a way to know if given key combination is in use or not?

Example - I would like to execute build on my project. I would create method to call build by pressing c-b.

How do i know if c-b isn’t already in use? Thanks.