NXP-11774: add BatchManager#hasBatch method