def verify_exist(value, existing_list, key):
    """Verify if value exist in a list of dict and return the index"""
    for i, dic in enumerate(existing_list):
        if dic[key] == value:
            return i
    return None