code: def check_residue(self, sig, name):
      #        print("check_not_nan "  + name);
      #        print(sig);
      if np.isnan(sig).any():
          raise tsutil.Internal_PyAF_Error(
              "Invalid 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 sklearn
  import sklearn.preprocessing
  import sklearn.linear_model
  from sklearn.feature_selection import RFE
  from sklearn.linear_model import LinearRegression
label_desc: Use image node_id 6 for calling the cTrendEstimator obj's underlying member method code with example usage: obj.check_residue(sig, name) without return types