#NEWLINE# def IsKeyword( self , keyword ) : #NEWLINE# #INDENT# 'Tests if this token is the given keyword.\n\n    Args:\n      keyword: The keyword to compare to.\n\n    Returns:\n      True if this token is a keyword token with the given name.\n    ' #NEWLINE# return ( ( self . type == JavaScriptTokenType . KEYWORD ) and ( self . string == keyword ) )