def warn_user(self):
        return self.request.session.get('warn', False)
Validate if the router can be correctly assigned to the agent.
dataset/ETHPy150Open jbittel/django-mama-cas/mama_cas/views.py/LoginView.warn_user--crossover with--dataset/ETHPy150Open openstack/neutron/neutron/db/l3_agentschedulers_db.py/L3AgentSchedulerDbMixin.validate_agent_router_combination