def METHOD_NAME(self, signum):
    # This is just an example of how to do something on conversation
    # suspend. You can skip specifying 'on_suspend' argument if there
    # is no need
    sudo.log_info("conversation suspend: signal",
                  self._signal_name(signum))