code: def add_object_data(self, object_data, is_frame=False):
      data_dict = object_data.to_dict()
      if is_frame:
          for frame_num in range(
              self.frame_interval[0], self.frame_interval[1] + 1
          ):
              self.frame_object_dict[str(frame_num)] = {
                  "object_data": data_dict
              }
      else:
          self.object_dict["object_data"] = data_dict
  
imports: from collections import defaultdict
  import os
  import eta.core.serial
  import fiftyone.core.odm.dataset
label_desc: Use image node_id 2 for calling the OpenLABELObject obj's underlying member method code with example usage: obj.add_object_data(object_data, is_frame) without return types