How to check whether an image is packed or not in python?

for i in bpy.data.images:
    if i.is_packed() :  ????
        do something

In https://docs.blender.org/api/current/bpy.types.Image.html , pack() and unpack() is an action on image.

packed_files looks promising, but it lacks examples.

  • $\begingroup$ @batFINGER :: Thanks a lot of finding the duplicate. ^^ $\endgroup$ – cppBeginner Mar 22 at 5:53

Browse other questions tagged or ask your own question.