private boolean parseIPythonCaptureExpression() {
      if (myBuilder.getTokenType() == SHELL_COMMAND || myBuilder.getTokenType() == MAGIC_COMMAND_LINE) {
        captureIPythonExpression();
        return true;
      }
      if (myBuilder.getTokenType() == PyTokenTypes.PERC) {
        if (myBuilder.lookAhead(1) == PyTokenTypes.PERC) {
          myBuilder.error(PyParsingBundle.message("PARSE.console.multiline.magic.warn"));
        }
        captureIPythonExpression();
        return true;
      }
      return false;
    }
private boolean parseIPythonCaptureExpression()