Check if object is selected and it is a Mesh (or in Edit Mode)

Okay… this is a great start. Thanks

Also, does this work for the entire plugin or each individual command button.
I have 5+ commands per py file. (i have 3 py files of commands)

If this is only used by the py file only, hoe does it know which command I am checking?