[NTG-context] How to check if buffer or block has content