Camspiers\StatisticalClassifier\Model\ModelInterface::isPrepared PHP Method

isPrepared() public method

Returns whether or not the model is prepared
public isPrepared ( ) : boolean
return boolean The prepared status
    public function isPrepared();

Usage Example

 /**
  * Return an model which has been prepared for classification
  * @return \Camspiers\StatisticalClassifier\Model\ModelInterface
  */
 protected function preparedModel()
 {
     if (!$this->model->isPrepared()) {
         $this->prepareModel();
     }
     return $this->model;
 }