[GAIA BUG946750-FORM] - moved isEmpty() to utils