getState v2 vs v1

Hi there

I’m looking at migrating getState from v1 into v2 and would like to have some confirmation. Version 2 got slighlty different states, for example states like ‘_validation’ are not present anymore.

We had before:

if ( $operation == 'add' || $operation == 'insert' || $operation == 'insert_validation' ) {
   ...
} else if ( $operation == 'edit' || $operation == 'update' || $operation == 'update_validation' ) {
   ...
}

Would it have same effect if we now write:

if ( $operation == 'AddForm' || $operation == 'Insert' ) {
   ...
} else if ( $operation == 'EditForm' || $operation == 'Update' ) {
   ...
}

Thanks