code: def is_visible(self, selector):
          
  
          self.debug_log("Is visible (%s)" % selector)
  
          element = self.find(
              selector,
              raise_exception=False,
              wait_until_present=False,
              wait_until_visible=False
          )
  
          if element:
              if element.is_displayed(raise_exception=False):
  
                  element.highlight(
                      style=BROME_CONFIG['highlight']['element_is_visible']
                  )
  
                  self.debug_log("is visible (%s): True" % selector)
  
                  return True
  
          self.debug_log("is visible (%s): False" % selector)
  
          return False
docs: Check if an element is visible in the dom or not
  
          This method will check if the element is displayed or not
  
          This method might (according
          to the config highlight:element_is_visible)
          highlight the element if it is visible
  
          This method won't wait until the element is visible or present
          This method won't raise any exception if the element is not visible
  
          Returns:
              bool: True if the element is visible; False otherwise