How to Find/select Objects that Overlap/Intersects with each other

Is there a way to automatically select Objects(all kinds of surfaces) that Overlap/intersects with each other planarly (see image). Any command or script for this?

Thanks!

It’s not exactly what you’re looking for, but it might be useful: