boolean (ASTNode node) { final IElementType parentType = node.getTreeParent().getElementType(); return PythonDialectsTokenSetProvider.getInstance().getFunctionDeclarationTokens().contains(parentType) || PythonDialectsTokenSetProvider.getInstance().getParameterTokens().contains(parentType); }