def has_plot(self, key):
     return pdict.xn_has_key(self.plots, key)
 def has_dataset(self, key):
     return pdict.xn_has_key(self.datasets, key)