code: def get_nlb_metadata(pricing):
      for _, product in pricing["products"].items():
          if product.get("attributes") is None:
              continue
          if product.get("productFamily") != "Load Balancer-Network":
              continue
          if product["attributes"].get("group") != "ELB:Balancer":
              continue
          if (
              product["attributes"].get("operation")
              != "LoadBalancing:Network"
          ):
              continue
          if "LoadBalancerUsage" not in product["attributes"].get(
              "usagetype"
          ):
              continue
  
          price_dimensions = list(
              pricing["terms"]["OnDemand"][product["sku"]].values()
          )[0]["priceDimensions"]
          price = list(price_dimensions.values())[0]["pricePerUnit"][
              "USD"
          ]
          return {"price": float(price)}
  
file_path: cortex/pkg/lib/aws/gen_resource_metadata.py
imports: import requests
  import re
  from string import Template
label_desc: Use image node_id 2 for calling a global function with example usage: get_nlb_metadata(pricing) and returns: dict