code: function discard (bboxes, exclude = null) {
      if (this.obb) { // single collision box
          return Label.prototype.occluded.call(this, bboxes, exclude);
      }
      else if (this.obbs) { // mutliple collision boxes
          for (let i = 0; i < this.obbs.length; i++){
              let aabb = this.aabbs[i];
              let obb = this.obbs[i];
              let obj = { aabb, obb };
  
              let should_discard = Label.prototype.occluded.call(obj, bboxes, exclude);
              if (should_discard) {
                  return true;
              }
          }
      }
      return false;
  }
docs: Generic discard function for labels, does simple occlusion with one or more bounding boxes (no additional logic to try alternate anchors or other layout options, etc.)