Extract whitespace-cleanup-mode-buffer-is-clean-p