boolean (@NotNull PsiElement element) { final Module module = ModuleUtilCore.findModuleForPsiElement(element); if (module != null){ if (PyDocumentationSettings.getInstance(module).isNumpyFormat(element.getContainingFile())) { return true; } } return isInsideNumPy(element); }