So, I found this useful answer about iterating buffers; but due to the tabpage-specific duality of windows in Vim, I failed at adapting it to my needs.
Thus: how can I construct a boolean expression, determining whether or not any (not just the current) window in the tabpage is in &diff
-mode?