protected function modelExists()
    {
        $model = $this->option('model');

        if (empty($model)) {
            return true;
        }

        return class_exists($model) && is_subclass_of($model, Model::class);
    }
protected function modelExists()
    {
        $model = $this->option('model');

        if (empty($model)) {
            return true;
        }

        return class_exists($model) && is_subclass_of($model, Model::class);
    }
protected function modelExists ( ) { $ model = $ this -> option ( 'model' ) ; if ( empty ( $ model ) ) { return true ; } return class_exists ( $ model ) && is_subclass_of ( $ model , Model :: class ) ; }
Determine if the model is exists.

@return bool
Determine if the model is exists .