def METHOD_NAME(plugin, project: Project) -> bool:
    """
    Determines whether or not a plugin has been deprecated.
    If it is past the `deprecation_date` this will always be True.
    If not, it checks the `SHADOW_DEPRECATED_PLUGINS` map and will return True only if
    the plugin slug is present and the organization doesn't have the override feature.
    """
    deprecation_date = getattr(plugin, "deprecation_date", None)
    is_past_deprecation_date = datetime.today() > deprecation_date if deprecation_date else False
    return is_past_deprecation_date or (
        plugin.slug in SHADOW_DEPRECATED_PLUGINS
        and not features.has(
            SHADOW_DEPRECATED_PLUGINS.get(plugin.slug), getattr(project, "organization", None)
        )
    )