code: def calc_hashes(
      binarized_features,
      hashed_cat_features,
      transposed_cat_feature_indexes,
      binarized_feature_indexes,
  ):
      result = 0
      for cat_feature_index in transposed_cat_feature_indexes:
          result = calc_hash(
              result, hashed_cat_features[cat_feature_index]
          )
      for bin_feature_index in binarized_feature_indexes:
          binary_feature = binarized_features[
              bin_feature_index.bin_index
          ]
          if not (bin_feature_index.check_value_equal):
              result = calc_hash(
                  result,
                  1
                  if (binary_feature >= bin_feature_index.value)
                  else 0,
              )
          else:
              result = calc_hash(
                  result,
                  1
                  if (binary_feature == bin_feature_index.value)
                  else 0,
              )
      return result
  
label_desc: Use image node_id 2 for calling a global function with example usage: calc_hashes(binarized_features, hashed_cat_features, transposed_cat_feature_indexes, binarized_feature_indexes) and returns: result