I was doing the check anyway for the debug message, and there should be a performance increase (particularly for db-backed sessions)