def has_recoverable_channels(self):
    return (self.has_deterministic_node_id() and self.config.get('use_recoverable_channels', True) and (not self.config.get('lightning_listen')))
def has_recoverable_channels(self):
    return (self.has_deterministic_node_id() and self.config.get('use_recoverable_channels', True) and (not self.config.get('lightning_listen')))