Detect used module from code

Hi, is it possible to detect from code which module is in use? If I develop an application and plan to use it for example with both wp7607 and wp7702, can I specify certain parts of code to run only if wp7607 is used?

Elmo

you can see the code in “cm info”