/** * Returns whether or not this field has another model * * @param string $model * @return void */ public function has($model, $id) { // Only accept the first record if (is_array($id) or $id instanceof Iterator) { $id = array(current($id)); } return parent::has($model, $id); }