function hasUnsavedFiles() {
		const unsavedFiles = manager.files.filter((file) => file.isUnsaved);
		return unsavedFiles.length;
	}
Checks if there are any unsaved files in the manager.
@returns {number} The number of unsaved files.