def _is_element_displayed(self, element):
    try:
        return element.is_displayed()
    except Exception:
        return False
def _is_element_displayed(self, element):
    try:
        return element.is_displayed()
    except Exception:
        return False