boolean () { if (myNode.getElementType() != PyElementTypes.ARGUMENT_LIST) { return false; } // This check is supposed to prevent PEP8's error: Continuation line with the same indent as next logical line final PsiElement header = getControlStatementHeader(myNode); if (header instanceof PyStatementListContainer) { final PyStatementList statementList = ((PyStatementListContainer)header).getStatementList(); return PyUtil.onSameLine(header, myNode.getPsi()) && !PyUtil.onSameLine(header, statementList); } return false; }