def METHOD_NAME(self, org, user):
    provider = integrations.get(self.provider)
    integration_features = [f"organizations:integrations-{f.value}" for f in provider.features]
    for flag_name in integration_features:
        log_params = {
            "flag_name": flag_name,
            "organization_id": org.id,
            "provider": self.provider,
        }
        # we have some integration features that are not actually
        # registered. Those features are unrestricted.
        if flag_name not in settings.SENTRY_FEATURES:
            logger.info(
                "integration-extension-config.missing-feature",
                extra=log_params,
            )
            return True
        result = features.has(flag_name, org, actor=user)
        logger.info(
            "integration-extension-config.feature-result",
            extra={"result": result, **log_params},
        )
        if result:
            return True
    # no features enabled for this provider
    return False