class_docstr: TODO(klausg): one liner to justify its existance.
class_docstr_tok: ["TODO","(","klausg",")",":","one","liner","to","justify","its","existance","."]
code: def validate(self, obj: Asset, value):
      super().validate(obj, value)
  
      # make sure the new asset is part of all scenes that the parent is part of
      for scene in obj.scenes:
          scene.add(value)
  
      return value
  
imports: import numpy
  import traitlets
  import pyquaternion
  from kubric.core import color
  from kubric.core.assets import UndefinedAsset
  from kubric.core.assets import Asset
label_desc: Use image node_id 2 for calling the AssetInstance obj's underlying member method code with example usage: obj.validate(obj, value) and returns: value