may I suggest `payload.generation > 0`. Its a bit more specific and protects against string values.