fix Issue 11896 - [REG2.066a] isVirtualMethod related GitHub HEAD regression (works with 2.064)