boolean (@NotNull PyClassType type) { final PyBuiltinCache builtinCache = PyBuiltinCache.getInstance(type.getPyClass()); return type.equals(builtinCache.getClassMethodType()) || type.equals(builtinCache.getStaticMethodType()) || type.equals(builtinCache.getObjectType(PyNames.FUNCTION)); }