protected function hasExactPathMatch(array $paths, $path) { $result = in_array($path, $paths, true); return $result; }