fix Issue 11896 - isVirtualMethod related GitHub HEAD regression (works with 2.064)