private static boolean isEllipsis(@NotNull PyAstStatement statement) {
    if (statement instanceof PyAstExpressionStatement) {
      final PyAstExpression expression = ((PyAstExpressionStatement)statement).getExpression();
      if (expression instanceof PyAstNoneLiteralExpression) {
        return ((PyAstNoneLiteralExpression)expression).isEllipsis();
      }
    }

    return false;
  }
private static boolean isEllipsis(@NotNull PyAstStatement statement)