I want to create a shape key modifier_apply_as_shapekey(...) where on a mesh where none yet exist, ie myobj.data.shape_keys == None, so modifier_apply_as_shapekey() will throw an error.
I'm not see the correct tree in the forest for something like a new() function.
myobj.shape_key_add(name = 'Basis')? I've found it here: Creating shape keys using Python – Blunder Mar 23 '24 at 20:37