class_docstr: Hybrid task cascade roi head including one bbox head and one mask head.
  
  https://arxiv.org/abs/1901.07518
class_docstr_tok: ["Hybrid","task","cascade","roi","head","including","one","bbox","head","and","one","mask","head",".","https",":","\/\/arxiv.org\/abs\/1901.07518"]
docstr: bool: whether the head has semantic head
docstr_tok: ["bool",":","whether","the","head","has","semantic","head"]
code: def with_semantic(self):
      """bool: whether the head has semantic head"""
      if (
          hasattr(self, "semantic_head")
          and self.semantic_head is not None
      ):
          return True
      else:
          return False
  
file_path: insightface/detection/scrfd/mmdet/models/roi_heads/htc_roi_head.py
imports: import torch
  import torch.nn.functional
  from mmdet.core import bbox2result, bbox2roi, bbox_mapping, merge_aug_bboxes, merge_aug_masks, multiclass_nms
  from ..builder import HEADS, build_head, build_roi_extractor
  from .cascade_roi_head import CascadeRoIHead
label_desc: Use image node_id 3 for calling the HybridTaskCascadeRoIHead obj's underlying member method code with example usage: obj.with_semantic() and returns: True, False