def setSyntax(self, syntax):
        """Choose smart indentation algorithm according to syntax"""
        self._smartIndenter = self._chooseSmartIndenter(syntax)
def _pool_is_licensed(self):
        if self.have.state == 'LICENSED':
            return True
        return False