checkRelevantArguments it is a helper function now