Channel window has a # prefix, fserve has a = prefix. how to check whether an active window is a query window?