def bool_from_str(value):
    """Convert a user-specified string to a bool."""
    if value == 'True':
        return value
    elif value == 'False':
        return value
    elif type(value) is bool:
        return value

    return str(value)