parameters: (control)
return_statement: return False
docstring: Is there a suitable handler for this control
  
      :param `control`: the control instance to check if a handler for it exists.
docstring_summary: Is there a suitable handler for this control
docstring_tokens: Is there a suitable handler for this control
function: def HasCtrlHandler(control):
      """
      Is there a suitable handler for this control
  
      :param `control`: the control instance to check if a handler for it exists.
      """
  
      klass = control.__class__
  
      if hasattr(control, "_persistentHandler"):
          # if control has a handler, just return it
          return True
      
      for handler, subclasses in STANDALONE_HANDLERS:
          for subclass in subclasses:
              if issubclass(klass, subclass):
                  return True
      
      for handler, subclasses in HANDLERS:
          for subclass in subclasses:
              if issubclass(klass, subclass):
                  return True
  
      return False
function_tokens: def HasCtrlHandler ( control ) : klass = control . __class__ if hasattr ( control , "_persistentHandler" ) : # if control has a handler, just return it return True for handler , subclasses in STANDALONE_HANDLERS : for subclass in subclasses : if issubclass ( klass , subclass ) : return True for handler , subclasses in HANDLERS : for subclass in subclasses : if issubclass ( klass , subclass ) : return True return False