def get_witness_schedule(self, use_stored_data=True):
    ' Return witness elected chain properties\n\n        '
    if use_stored_data:
        self.refresh_data()
        return self.data['witness_schedule']
    if (self.rpc is None):
        return None
    self.rpc.set_next_node_on_empty_reply(True)
    return self.rpc.get_witness_schedule(api='database')
Return witness elected chain properties
def get_witness_schedule(self, use_stored_data=True):
    ' \n\n        '
    if use_stored_data:
        self.refresh_data()
        return self.data['witness_schedule']
    if (self.rpc is None):
        return None
    self.rpc.set_next_node_on_empty_reply(True)
    return self.rpc.get_witness_schedule(api='database')