docs: def kml_network_link(href, name=None, region_coords=None, visible=True):
      """
      Create the KML <NetworkLink> Tag for a certain Region in the RegionGrid.
  
      Args:
          region_coords (RegionCoordinate):
          href (str): the href attribute of the NetworkLink
          name (str): KML <name>
          visible (bool): If true the network link will appear as 'visible'
              (i.e. checked) in Google Earth.
  
      Returns:
          KMLElement: the KML <NetworkLink>
  
      """
      nl = KML.NetworkLink()
      if name is None and region_coords is not None:
          name = kml_element_name(region_coords, "NL")
      if name is not None:
          nl.append(KML.name(name))
      if region_coords is not None:
          min_lod_pixels = DEFAULT_MIN_LOD_PIXELS * (2 ** region_coords.log_tiles_per_row)
          nl.append(kml_region(region_coords, min_lod_pixels=min_lod_pixels))
      if not visible:
          nl.append(KML.visibility(0))
  
      nl.append(KML.Link(
          KML.href(href), KML.viewRefreshMode("onRegion")))
  
      return nl