code: def _expected_condition_value_in_element_attribute(self, element_attribute_value):
          
          element, attribute, value = element_attribute_value
          web_element = self._expected_condition_find_element(element)
          try:
              return web_element if web_element and web_element.get_attribute(attribute) == value else False
          except StaleElementReferenceException:
              return False
docs: Tries to find the element and checks that it contains the requested attribute with the expected value,
             but does not thrown an exception if the element is not found
  
          :param element_attribute_value: Tuple with 3 items where:
              [0] element: PageElement or element locator as a tuple (locator_type, locator_value) to be found
              [1] attribute: element's attribute where to check its value
              [2] value: expected value for the element's attribute
          :returns: the web element if it contains the expected value for the requested attribute or False
          :rtype: selenium.webdriver.remote.webelement.WebElement or appium.webdriver.webelement.WebElement