private boolean parseSequencePatternInBrackets() {
    if (atToken(PyTokenTypes.LBRACKET)) {
      SyntaxTreeBuilder.Marker mark = myBuilder.mark();
      nextToken();
      registerConsumedBracket(PyTokenTypes.LBRACKET);
      parseCommaSeparatedPatterns(this::parsePattern);
      if (checkMatches(PyTokenTypes.RBRACKET, PyParsingBundle.message("PARSE.expected.rbracket"))) {
        registerConsumedBracket(PyTokenTypes.RBRACKET);
      }
      mark.done(PyElementTypes.SEQUENCE_PATTERN);
      return true;
    }
    return false;
  }
private boolean parseSequencePatternInBrackets()