public function hasPath($key)
    {
        $pathValue = $this->getPathValue($key);

        $pathMethod = $this->getPathMethod($key);

        return (! is_null($pathValue) && ! is_null($pathMethod));
    }