def __init__(self, filename=None):
        self.filename = None
        if filename:
            self.load(filename)
def _pool_is_licensed(self):
        if self.have.state == 'LICENSED':
            return True
        return False