def yaml(self):
        return yaml.dump(self.serialized, default_flow_style=False,
                         encoding=None)
def _pool_is_licensed(self):
        if self.have.state == 'LICENSED':
            return True
        return False