def str_to_bool(s):
    """
    This function converts a string of True or False into a boolean value.
    Args:
        s: string

    Returns:
        boolean value of s
    """
    if s == 'True':
         return True
    elif s == 'False':
         return False