code: def check_not_nan(self, sig, name):
      # print("check_not_nan");
      if np.isnan(sig).any() or np.isinf(sig).any():
          logger = tsutil.get_pyaf_logger()
          logger.error("CYCLE_RESIDUE_WITH_NAN_IN_SIGNAL" + str(sig))
          raise tsutil.Internal_PyAF_Error(
              "CYCLE_COLUMN _FOR_TREND_RESIDUE ['" + name + "'"
          )
      pass
  
imports: import pandas
  import numpy
  from .None import Time
  from .None import Perf
  from .None import Plots
  from .None import Utils
  import time
label_desc: Use image node_id 4 for calling the cAbstractCycle obj's underlying member method code with example usage: obj.check_not_nan(sig, name) without return types