Add skip option to sequence generation

This allows the sequence generation to be skipped if a certain expression evaluates to true