boolean (PyExceptPart node) { final PyStatementList statementList = node.getStatementList(); for (PyStatement st : statementList.getStatements()) { if (st instanceof PyRaiseStatement) { return true; } } return false; }