/** * Check if it is the redirect route. * * @return bool */ public function isRedirect() { return $this->settings->has('redirect') || $this->settings->has('direct'); }
/** * Determine key exists in the collection. * * @param string $key the data key * @return bool */ public function has($key) { return parent::has($this->normalizeKey($key)); }