Refactor isFormEmpty to isFormFilled