code: def _port_scan(self, port):
          
          if int(port['port']) == 0:
              return self._port_scan_icmp(port)
          else:
              return self._port_scan_tcp(port)
docs: Scan the port structure (dict) and update the status key.