def _is_element_present(self, *locator):
    try:
        self._turn_off_implicit_wait()
        self._get_element(*locator)
        return True
    except Exceptions.NoSuchElementException:
        return False
    finally:
        self._turn_on_implicit_wait()
def _is_element_present(self, *locator):
    try:
        self._turn_off_implicit_wait()
        self._get_element(*locator)
        return True
    except Exceptions.NoSuchElementException:
        return False
    finally:
        self._turn_on_implicit_wait()