boolean (@NotNull PyStatement statement) { if (statement instanceof PyExpressionStatement) { final PyExpression expression = ((PyExpressionStatement)statement).getExpression(); if (expression instanceof PyNoneLiteralExpression) { return ((PyNoneLiteralExpression)expression).isEllipsis(); } } return false; }