code: def _has_record_inf_value(record_as_array: np.ndarray) -> np.bool_:
      is_inf_in_record = np.zeros(len(record_as_array), dtype=bool)
      for i, value in enumerate(record_as_array):
          is_element_inf = False
          try:
              is_element_inf = np.isinf(value)
          except TypeError:
              is_element_inf = False
          is_inf_in_record[i] = is_element_inf
  
      return np.any(is_inf_in_record)
  
imports: from __future__ import annotations
  from decimal import Decimal
  from functools import partial
  from typing import TYPE_CHECKING, overload
  import warnings
  import numpy
  from pandas._config import get_option
  from pandas._libs import lib
  import pandas._libs.missing
  from pandas._libs.tslibs import NaT, iNaT
  from pandas.core.dtypes.common import DT64NS_DTYPE, TD64NS_DTYPE, ensure_object, is_scalar, is_string_or_object_np_dtype
  from pandas.core.dtypes.dtypes import CategoricalDtype, DatetimeTZDtype, ExtensionDtype, IntervalDtype, PeriodDtype
  from pandas.core.dtypes.generic import ABCDataFrame, ABCExtensionArray, ABCIndex, ABCMultiIndex, ABCSeries
  from pandas.core.dtypes.inference import is_list_like
label_desc: Use image node_id 11 for calling a global function with example usage: _has_record_inf_value(record_as_array) and returns: np