def _str_or_false(x):
    """
    Returns a boolean False if x is the string "False" or similar.
    Returns the original string otherwise.
    """
    if x.lower() == 'false':
        x = False
    return x
