def is_topic_published(self, topicname):
        return topicname in dict(rospy.get_published_topics()).keys()
dataset/ETHPy150Open RobotWebTools/rosbridge_suite/rosbridge_library/test/internal/publishers/test_publisher_manager.py/TestPublisherManager.is_topic_published/original