Use identity operator to detect `invoke`.

Use the identity operator to detect the `invoke` function which is used
to indicate that the step function has completed.