def IsComment(self):
    return self.type in JavaScriptTokenType.COMMENT_TYPES
Check that the mapping is valid.
dataset/ETHPy150Open google/closure-linter/closure_linter/javascripttokens.py/JavaScriptToken.IsComment--crossover with--dataset/ETHPy150Open google/grr/grr/server/data_server/master_test.py/MasterTest.testMapping