def check_contains(element, keywords):
    """Auxiliary function used to check if a yaml structure contains or not
    an specific field. Returns a bool"""
    for key in keywords:
        if not key in element:
            return False      
    return True