def METHOD_NAME(self):
    """
    Returns a boolean representing if this plugin is enabled.
    If ``project`` is passed, it will limit the scope to that project.
    >>> plugin.is_enabled()
    """
    if not self.enabled:
        return False
    if not self.can_disable:
        return True
    return True