def METHOD_NAME(event, name):
    """Check if a feature is enabled for an event.
    :param event: The event (or event ID) to check.
    :param name: The name of the feature.
    """
    feature = get_feature_definition(name)
    enabled_features = features_event_settings.get(event, 'enabled')
    if enabled_features is not None:
        return feature.name in enabled_features
    else:
        if isinstance(event, (str, int)):
            event = Event.get(event)
        return event and feature.is_default_for_event(event)