Boolean (@NotNull PyExpression element, @NotNull TypeEvalContext context) { if (element instanceof PyQualifiedExpression && PyNames.__CLASS__.equals(element.getName())) { return true; } return PyTypeChecker.isCallable(context.getType(element)); }