adapter) { throw new Exception\RuntimeException('No database adapter present'); } $valid = true; $this->setValue($value); $result = $this->query($value); if (! $result) { $valid = false; $this->error(self::ERROR_NO_RECORD_FOUND); } return $valid; } }