Path 1: 411 calls (1.0)

SecureCookieSession (346) NullSession (64) None (1)

False (347) True (64)

1def is_null_session(self, obj: object) -> bool:
2        """Checks if a given object is a null session.  Null sessions are
3        not asked to be saved.
4
5        This checks if the object is an instance of :attr:`null_session_class`
6        by default.
7        """
8        return isinstance(obj, self.null_session_class)