code: async def scan(self):
          
          atvs = await pyatv.scan_for_apple_tvs(
              self.loop, timeout=self.args.scan_timeout, only_usable=False)
          _print_found_apple_tvs(atvs)
  
          return 0
docs: Scan for Apple TVs on the network.