def parseValue(key):
    """
    Attempts to parse the key value, so if the string is 'False' it will parse a boolean false.

    :param key: the key to parse
    :type key: string

    :returns: the parsed key.
    """
    if key == 'True' or key == 'true':
        return True
    if key == 'False' or key == 'false':
        return False
    if key == 'None' or key == 'none':
        return None
    if '.' in key:
        try:
            f = float(key)
            return f
        except:
            pass
    try:
        i = int(key)
        return i
    except:
        pass
    return key
