private static boolean hasBeginKey(@NotNull TextMateLexerState lexerState) {
    return lexerState.syntaxRule.getStringAttribute(Constants.StringKey.BEGIN) != null;
  }
private static boolean hasBeginKey(@NotNull TextMateLexerState lexerState)