Insert only visible layers as block

Assuming this can’t be done without Scripting, and I don’t have time while I’m working at the moment. Anyone have/able to make this .py script?

File B - Use “Insert” and choose File A
File A - GetObjects/Layers I want to Insert into File B. If not choice is made, use as-is
File B - Insert visible layers/objects from File A

If making a script (bless your heart!) I think it would be helpful to the gang at-large to leave Options Window available (tho I personally tend to choose Linked/Active)

Thanks to any takers!