[TASK] Proper check for empty token