How to verify whether an element is enabled or not?