def _is_plugin_disabled(plugin):
    """ Determines if provided plugin is disabled from running for the
        active task.
        """
    item = _registered.get(plugin.name)
    if not item:
        return False

    _, props = item
    return bool(props.get('disabled'))