public function willAdd(AbstractModel $model)
    {
        $key = $model->getCompositeKey();
        return isset($this->added[$key]);
    }
public function willAdd(AbstractModel $model)
    {
        $key = $model->getCompositeKey();
        return isset($this->added[$key]);
    }
public function willAdd ( AbstractModel $ model ) { $ key = $ model -> getCompositeKey ( ) ; return isset ( $ this -> added [ $ key ] ) ; }
Determines if the model is scheduled for addition to the collection.

@param   AbstractModel   $model  The model to check.
@return  bool
Determines if the model is scheduled for addition to the collection .