May a macro behave differently based on mounted or not?

Read the pins, this is covered.