Declares whether the access check applies to a specific route or not.
\Symfony\Component\Routing\Route $route: The route to consider attaching to.
bool TRUE if the check applies to the passed route, FALSE otherwise.
Overrides AccessCheckInterface::applies
public function applies(Route $route) {
return array_key_exists('_user_is_logged_in', $route
->getRequirements());
}