code: def is_infra_validated(infra_blessing: types.Artifact) -> bool:
      """Returns whether model is infra blessed by upstream InfraValidator.
  
      Args:
        infra_blessing: A `InfraBlessing` artifact from infra validator.
  
      Returns:
        Whether model is infra validated or not.
      """
      return infra_blessing.get_int_custom_property("blessed") == 1
  
label_desc: Use image node_id 2 for calling a global function with example usage: is_infra_validated(infra_blessing) and returns: unknown