def _should_include_event(self, event_names_whitelist, event_name):
        """
        Return True if particular event should be included based on the event names filter.
        """
        if not event_names_whitelist:
            return True

        for event_name_filter_glob in event_names_whitelist:
            if fnmatch.fnmatch(event_name, event_name_filter_glob):
                return True

        return False

        Return True if particular event should be included based on the event names filter.
        
st2common/st2common/stream/listener.py