Migration: how to find modified collection items?

I’m attempting to migrate some fields to a new postZone component using v5 migrations.

My concern is accidentally publishing content that was modified and never published, or content that was only ever a draft during the migration.

How can I check for either of those situations since my migration script would be publishing each change to prevent putting every item into a modified state.