def keyExists(csvdict, key):
    """ Tests to see if a key exists in a csv dictionary
    Parameters
    ----------
        key: str
            Key for the value you are searching for
            
        csvdict: dict
            Dictonary object to search

    Returns
    -------
        check: boolean
    """
    return key.lower().strip() in [(k.lower().strip()) for k in csvdict.keys()]