Would be nice if there was a way to tell if a specified window has a side listbox(/window -lN) or not.

I suggest an added prop of .lbstate to $window() which returns the number of characters wide the listbox is, or null if there is no side listbox