Helper for checking the match status