def is_sent_from_sources(event, sources):
    """
    Checks if an event is sent from a list of source names.
    Source names are configured in eiffelactory.config.

    :param event: the Eiffel event
    :param sources: a list of source names
    :return: True if event's meta.source.name is in the list of source names
    """
    if 'source' not in event['meta'] \
            or event['meta']['source'] is None:
        return False

    if 'name' not in event['meta']['source'] \
            or event['meta']['source']['name'] is None:
        return False

    return event['meta']['source']['name'] in sources