Returns True if report type is TEMPO or PROB__

def _is_tempo_or_prob(report_type: str) -> bool:
    """
    Returns True if report type is TEMPO or PROB__
    """
    if report_type == 'TEMPO':
        return True
    if len(report_type) == 6 and report_type.startswith('PROB'):
        return True
    return False