code: def test_read_bool_subtype(tmpdir):
      test_data = """{"type": "FeatureCollection", "features": [{"type": "Feature", "properties": {"bool": true, "not_bool": 1, "float": 42.5}, "geometry": null}]}"""
      path = tmpdir.join("test_read_bool_subtype.geojson")
      with open(str(path), "w") as f:
          f.write(test_data)
  
      with fiona.open(str(path), "r") as src:
          feature = next(iter(src))
  
      if fiona.gdal_version.major >= 2:
          assert type(feature["properties"]["bool"]) is bool
      else:
          assert type(feature["properties"]["bool"]) is int
      assert isinstance(feature["properties"]["not_bool"], int)
      assert type(feature["properties"]["float"]) is float
  
label_desc: Use image node_id 1 for calling a global function with example usage: test_read_bool_subtype(tmpdir) without return types