code: def test_fingerprint():
      for resource in valid_resources:
          # The fingerprint matches expectations
          fingerprint = build_fingerprint(
              resource.get("path"),
              resource.get("version", version),
              resource.get("hash", hash_value),
          )
          assert fingerprint == resource.get("fingerprint")
  
          (original_path, has_fingerprint) = check_fingerprint(
              fingerprint
          )
          # The inverse operation returns that the fingerprint was valid
          # and the original path
          assert has_fingerprint
          assert original_path == resource.get("path")
  
      for resource in valid_fingerprints:
          (_, has_fingerprint) = check_fingerprint(resource)
          assert has_fingerprint, resource
  
      for resource in invalid_fingerprints:
          (_, has_fingerprint) = check_fingerprint(resource)
          assert not has_fingerprint, resource
  
label_desc: Use image node_id 1 for calling a global function with example usage: test_fingerprint() without return types