

def _is_testbot_online(self):
    response = self.slacker.users.get_presence(self.testbot_userid)
    return (response.body['presence'] == response.slacker.presence.ACTIVE)

dataset/ETHPy150Open lins05/slackbot/tests/functional/driver.py Driver._is_testbot_online/VarMisuse@34/45 `self`->`response`