code: def check_rename(feat, new_name, new_names):
      copy_feat = feat.rename(new_name)
      assert feat.unique_name() != copy_feat.unique_name()
      assert feat.get_name() != copy_feat.get_name()
      assert (
          feat.base_features[0].generate_name()
          == copy_feat.base_features[0].generate_name()
      )
      assert feat.dataframe_name == copy_feat.dataframe_name
      assert feat.get_feature_names() != copy_feat.get_feature_names()
      check_names(copy_feat, new_name, new_names)
  
file_path: featuretools/featuretools/tests/testing_utils/features.py
imports: import re
  from featuretools.entityset.relationship import RelationshipPath
label_desc: Use image node_id 5 for calling a global function with example usage: check_rename(feat, new_name, new_names) without return types