code: def close_to(expected: t.Any):
      def check_output(out: ext.NpNDArray):
          return np.isclose(out, expected).all()
  
      return check_output
  
file_path: BentoML/tests/integration/frameworks/models/xgboost.py
imports: from __future__ import annotations
  import json
  import typing
  from typing import TYPE_CHECKING
  import numpy
  import pandas
  import xgboost
  from sklearn.datasets import load_breast_cancer
  from sklearn.datasets import load_iris
  import bentoml
  from .None import FrameworkTestModel
  from .None import FrameworkTestModelConfiguration
  from .None import FrameworkTestModelInput
label_desc: Use image node_id 2 for calling a global function with example usage: close_to(expected) and returns: check_output, np