docs: def has_param(param):
      """
      Generate function, which will check `param` is in html element.
  
      This function can be used as parameter for .find() method in HTMLElement.
      """
      def has_param_closure(element):
          """
          Look for `param` in `element`.
          """
          if element.params.get(param, "").strip():
              return True
  
          return False
  
      return has_param_closure