Changed the way to check if SessionMiddleware is enabled.
Changed the way to check if SessionMiddleware is enabled.

Letractively/kay-framework,Letractively/kay-framework,Letractively/kay-framework,Letractively/kay-framework