Check if during match in function.