Check the value of `define macro

In reply to kpkrishna:

yes Macro can be used in class too. And for your formal query dave_59 already answered it will eliminate else code if value is set to 1