code: def _has_only_empty_bbox(anno):
      return all(any(o <= 1 for o in obj["bbox"][2:]) for obj in anno)
  
file_path: mmdetection/tools/dataset_converters/refcoco2odvg.py
imports: import argparse
  import os.path
  import jsonlines
  from pycocotools.coco import COCO
  from tqdm import tqdm
label_desc: Use image node_id 2 for calling a global function with example usage: _has_only_empty_bbox(anno) and returns: all