def has(l , key, value):
    """Check if list has dict with matching key-value pair

    Parameters
    ----------
    l : List[Dict[str, Any]]
        List to check for matches
    key : str
        Key to find in list's dictionaries
    value : Any
        Value to be compared with value in suitable key-value pair in each dictionary in list

    Returns
    -------
    bool
        True if list has dictionary with key-value pair matching given key and value, False otherwise.
    """
    for item in l:
        if item[key] == value:
            return True
    return False