original_string: private function isWhiteListedAuthRoute($routes)
      {
          foreach ($this->whitelistedAuthRoutes as $whitelistedRoute) {
              if (is_a($routes, $whitelistedRoute)) {
                  return true;
              }
          }
  
          return false;
      }
code: private function isWhiteListedAuthRoute($routes)
      {
          foreach ($this->whitelistedAuthRoutes as $whitelistedRoute) {
              if (is_a($routes, $whitelistedRoute)) {
                  return true;
              }
          }
  
          return false;
      }
code_tokens: private function isWhiteListedAuthRoute ( $ routes ) { foreach ( $ this -> whitelistedAuthRoutes as $ whitelistedRoute ) { if ( is_a ( $ routes , $ whitelistedRoute ) ) { return true ; } } return false ; }
docstring: Validates if the route object is an instance of the whitelisted routes.
  A small workaround since we cant use multiple classes in a `instanceof` comparison.
  
  @param object $routes
  
  @return bool
docstring_tokens: Validates if the route object is an instance of the whitelisted routes . A small workaround since we cant use multiple classes in a instanceof comparison .