def IsOperator(self, operator):
    return self.type == JavaScriptTokenType.OPERATOR and self.string == operator
blocks until the response arrived or timeout is reached.
dataset/ETHPy150Open google/closure-linter/closure_linter/javascripttokens.py/JavaScriptToken.IsOperator--crossover with--dataset/ETHPy150Open anandology/pyjamas/examples/jsonrpc/public/services/jsonrpc/__init__.py/ResponseEvent.waitForResponse