docs: def check_ip(ip, log=False):
          """Attempts a connection to the TV and checks if there really is a TV."""
          if log:
              print('Checking ip: {}...'.format(ip))
  
          request_timeout = 0.1
  
          try:
              tv_url = 'http://{}:6095/request?action=isalive'.format(ip)
              request = requests.get(tv_url, timeout=request_timeout)
          except requests.exceptions.ConnectTimeout:
              return False
  
          return request.status_code == 200