implemented hasNoModifier tester