def string_bool(value):
    """
    Returns False if the value is Falsish or "False", True if value is "True",
    or the original value otherwise.
    """
    if isinstance(value, bool):
        return value
    if not value or value == 'False':
        return False
    if value == 'True':
        return True
    return value
