Consolidate another localStorage check