code: def _set_hash(self):
      hash_msg = hashlib.sha256()
  
      for feature in self._all_features:
          hash_msg.update(feature.id.encode("utf-8"))
  
      self._hash_key = hash_msg.hexdigest()
      return self
  
imports: from __future__ import annotations
  import hashlib
  from itertools import combinations
  from typing import Any, Dict, List, Optional, Set, Type, Union, cast
  from woodwork.logical_types import LogicalType
  from featuretools.feature_discovery.LiteFeature import LiteFeature
  from featuretools.feature_discovery.type_defs import ANY
  from featuretools.feature_discovery.utils import hash_primitive, logical_types_map
  from featuretools.primitives.base.primitive_base import PrimitiveBase
  from featuretools.primitives.utils import PrimitivesDeserializer
label_desc: Use image node_id 6 for calling the FeatureCollection obj's underlying member method code with example usage: obj._set_hash() and returns: self