boolean (PyFunction func, Set<PyFunction> functionsWithInheritors) { if (functionsWithInheritors.contains(func)) { return true; } if (!PyUtil.isInitMethod(func) && PySuperMethodsSearch.search(func, myTypeEvalContext).findFirst() != null || PyOverridingMethodsSearch.search(func, true).findFirst() != null) { functionsWithInheritors.add(func); return true; } return false; }