def parse_bool_yn(yn_bool_str):
    """Parse a string representation of a boolean to its python equivalent"""
    val_str = str(yn_bool_str).strip().upper()
    val_first_char = str(val_str[0])
    return True if val_first_char == "Y" or val_first_char == "T" else False