def Str2Bool(string):
    """
    Converts a string to Python boolean. If not 'true' in lowercase, returns
    False.
    :param string: a string of True or False, not cap sensitive
    :return: Boolean
    """
    if string == 'True' or string == 'true':
        return True
    else:
        return False