refactoring of some form method instance checks, to use new MethodMatcher