[fix] Checking for session attr