boolean (@NotNull PsiElement element, @NotNull String toolId) { return isSuppressedForParent(element, PyStatement.class, toolId) || isSuppressedForParent(element, PyFunction.class, toolId) || isSuppressedForParent(element, PyClass.class, toolId); }