def check_sequence_names_present(sequence):
    """
    Checks that the names of entities are all present
    """
    result = any(map(lambda x: 'name' in x, sequence))
    if not result:
        return {
            'result': False,
            'message': "All entries in ssl_sequence must have a name."
        }
    return {
        'result': True,
        'message': "All entries have a defined name."
    }