'Return true if the key has any values.'

def __contains__(self, key):

    if (not is_valid_key(key)):
        raise ValueError
    key = key.lower()
    for (k, value) in self:
        if (k.lower() == key):
            return True
    else:
        return False
