code: def test_vectorgrid_str_options():
      m = folium.Map(location=(30, 20), zoom_start=4)
      url = "https://free-{s}.tilehosting.com/data/v3/{z}/{x}/{y}.pbf?token={token}"
      options = """{
          "subdomain": "test",
          "token": "test_token",
          "vectorTileLayerStyles": {
              "all": {
                  "fill": true,
                  "weight": 1,
                  "fillColor": "green",
                  "color": "black",
                  "fillOpacity": 0.6,
                  "opacity": 0.6
                  }
              }
          }"""
  
      vc = VectorGridProtobuf(url, "test", options)
      m.add_child(vc)
  
      dict_options = json.loads(options)
  
      out = normalize(m._parent.render())
      script = f'<script src="{VectorGridProtobuf.default_js[0][1]}"></script>'
  
      assert script in out
      assert url in out
      assert "L.vectorGrid.protobuf" in out
      assert '"token": "test_token"' in out
      assert '"subdomain": "test"' in out
  
      for k, v in dict_options["vectorTileLayerStyles"]["all"].items():
          if type(v) == bool:
              assert f'"{k}": {str(v).lower()}' in out
              continue
          if type(v) == str:
              assert f'"{k}": "{v}"' in out
              continue
  
          assert f'"{k}": {v}' in out
  
imports: import json
  import folium
  from folium.plugins import VectorGridProtobuf
  from folium.utilities import normalize
label_desc: Use image node_id 2 for calling a global function with example usage: test_vectorgrid_str_options() without return types