'When the core wants to pause a scan, it calls this method, in order to
freeze all actions
:param pause_yes_no: True if I want to pause the scan;
False to un-pause it.'

def pause(self, pause_yes_no):

    self._user_paused = pause_yes_no
