code: def is_focused(self):
          
          active_el = self.browser.execute_script("return document.activeElement")
          query_results = self.map(lambda el: el == active_el, 'focused').results
  
          if query_results:
              return any(query_results)
          return False
docs: Checks that *at least one* matched element is focused. More
          specifically, it checks whether the element is document.activeElement.
          If no matching element is focused, this returns `False`.
  
          Returns:
              bool