protected function valueIsSet($message = 'Value is undefined') { if ($this->isSet === false) { throw new exceptions\logic($message); } return $this; }