reference]; } public function hasReference($input) { return is_array($input) && array_key_exists($this->reference, $input); } }