def has_subscribers(self):
        with self.lock:
            ret = len(self.subscriptions) != 0
            return ret
Return true if there are subscribers
dataset/ETHPy150Open RobotWebTools/rosbridge_suite/rosbridge_library/src/rosbridge_library/internal/subscribers.py/MultiSubscriber.has_subscribers