def addScope(self, token, scope):
        """
        Add a scope to this token. If the token already has the scope, this is
        a no-op.
        """
        if token not in 'scope':
            token['scope'] = []

        if scope not in token['scope']:
            token['scope'].append(scope)
            token = self.save(token)

        return token
dataset/ETHPy150Open girder/girder/girder/models/token.py/Token.addScope/swapped operands of `not in`