/**
  * Checks to see if the current value for this is set and valid.
  * @return boolean
  */
 public function isValid()
 {
     if ($this->getGenerate()) {
         return true;
     } else {
         return parent::isValid();
     }
 }