class_docstr: Base class for RoIHeads.
docstr: bool: whether the RoI head contains a `shared_head`
docstr_tok: ["bool",":","whether","the","RoI","head","contains","a","`","shared_head","`"]
code: def with_shared_head(self):
      """bool: whether the RoI head contains a `shared_head`"""
      return (
          hasattr(self, "shared_head") and self.shared_head is not None
      )
  
file_path: insightface/detection/scrfd/mmdet/models/roi_heads/base_roi_head.py
imports: from abc import ABCMeta, abstractmethod
  import torch.nn
  from ..builder import build_shared_head
label_desc: Use image node_id 4 for calling the BaseRoIHead obj's underlying member method code with example usage: obj.with_shared_head() and returns: unknown