def validate_filter(filter):
 return (filter in CONF.filter_scheduler.enabled_filters)

def validate_filter ( filter ) : return ( filter in CONF . filter_scheduler . enabled_filters )
validates that the filter is configured in the default filters .