def check_state(self, session):
        url = utils.urljoin(self.base_path, self.id, 'state')
        resp = session.get(url, endpoint_filter=self.service)
        resp = resp.json()
        current_state = resp.replace('\"', '')
        return current_state
Test that a copy of a sentinel is the same
dataset/ETHPy150Open openstack/python-openstacksdk/openstack/telemetry/v2/alarm.py/Alarm.check_state--crossover with--dataset/ETHPy150Open duerrp/pyexperiment/tests/test_sentinel.py/TestSentinel.test_sentinel_deepcopy_is_same