def resolve_boolean_value(val: str):
    """ Resolve a string which represents a boolean value

    Args:
        val: The value
    Returns:
         True, False or None
    """
    val = val.upper()
    if val == "TRUE":
        return True
    elif val == "FALSE":
        return False
    else:
        return None