code: public function areActiveRoutes(array $routeNames, $output = "active")
      {
          foreach ($routeNames as $routeName) {
              if ($this->isActiveRoute($routeName, true)) {
                  return $output;
              }
          }
  
          return null;
      }
docs: Compares given array of route names with current route name.
  
  @param  array  $routeNames
  @param  string $output
  @return boolean