Import and use _WorkState for comparisons