public function isNotEmpty($failMessage = null) { if (iterator_count($this->valueIsSet()->value) > 0) { $this->pass(); } else { $this->fail($failMessage ?: $this->_('%s is empty', $this)); } return $this; }