fn ends_with_apply_batch(text: &str) -> bool
Return true if text ends with the APPLY BATCH token pair.
text
APPLY BATCH