How to run "Set Crop to Layer Bounds" for all (or selected) iColor SVG layers?

Is there a script or command to run “Set Crop to Layer Bounds” on all selected glyphs?
Read here it improved performance on externally linked SVGS,
I have a layer called iColor, in it I placed (not imported) SVGs.