def str2boolean(string_obj):
    """Convert string 'True' and 'False' to corresponding boolean obj"""
    if string_obj.lower() == 'true':
        return True
    elif string_obj.lower() == 'false':
        return False
    else:
        return string_obj
