def IsKeyword(self, keyword):
    return self.type == JavaScriptTokenType.KEYWORD and self.string == keyword
Tests if this token is the given keyword.
dataset/ETHPy150Open google/closure-linter/closure_linter/javascripttokens.py/JavaScriptToken.IsKeyword