code: def bond_to_feature_vector(bond):
      """
      Converts rdkit bond object to feature list of indices
      :param mol: rdkit bond object
      :return: list
      """
      bond_feature = [
          safe_index(
              allowable_features["possible_bond_type_list"],
              str(bond.GetBondType()),
          ),
          allowable_features["possible_bond_stereo_list"].index(
              str(bond.GetStereo())
          ),
          allowable_features["possible_is_conjugated_list"].index(
              bond.GetIsConjugated()
          ),
      ]
      return bond_feature
  
label_desc: Use image node_id 4 for calling a global function with example usage: bond_to_feature_vector(bond) and returns: bond_feature