Removed check for enabled property in isDisplayed()

The enabled attribute does not have any connection to the visibility.
Also removed redundant visibility check.