Removed check for enabled property in isDisplayed()

The enabled attribute does not have any connection to the visibility.
Also removed redundant visibility check.
any reason you removed this also? (the check of getVisibility)