code: def check(cls, data):
          
          conn = Qubole.agent()
          return conn.post(cls.rest_entity_path, data=data)['status']
docs: Method to call the sensors api with json payload
          :param data: valid json object
          :return: True or False