code: def handle_stop_scan_command(self, scan_et):
          
  
          scan_id = scan_et.attrib.get('scan_id')
          if scan_id is None or scan_id == '':
              raise OSPDError('No scan_id attribute', 'stop_scan')
          self.stop_scan(scan_id)
  
          return simple_response_str('stop_scan', 200, 'OK')
docs: Handles <stop_scan> command.
  
          @return: Response string for <stop_scan> command.