How to List All Windows of One App That Are Open in All Desktops

See:


an appropriate name for the operation

Yes, a user-defined function like that would work as well by any other name.