code: def expect_keyword(parser, value):
      """If the next token is a keyword with the given value, return that
      token after advancing the parser. Otherwise, do not change the parser
      state and return False."""
      token = parser.token
      if token.kind == TokenKind.NAME and token.value == value:
          advance(parser)
          return token
  
      raise GraphQLSyntaxError(
          parser.source,
          token.start,
          'Expected "{}", found {}'.format(
              value, get_token_desc(token)
          ),
      )
  
imports: from .None import ast
  from ..error import GraphQLSyntaxError
  from .lexer import Lexer, TokenKind, get_token_desc, get_token_kind_desc
  from .source import Source
label_desc: Use image node_id 8 for calling a global function with example usage: expect_keyword(parser, value) and returns: token