code: def _is_plugin_disabled(plugin):
      
      item = _registered.get(plugin.name)
      if not item:
          return False
  
      _, props = item
      return bool(props.get('disabled'))
docs: Determines if provided plugin is disabled from running for the
          active task.