private function isRouteName($path) { return $path && strpos($path, 'http') !== 0 && strpos($path, '/') !== 0; }