def tc_search_for_id_match(telecommand, id_to_match, action=None):
    """ If the ID matches return True, stop the timer if action = "STOP_TIMEOUT". """
    if telecommand.ID == id_to_match:
        if action == "STOP_TIMEOUT":
            telecommand.stop_timer()
        return True
    else:
        return False