def with_auxiliary_head(self):
        """bool: whether the segmentor has auxiliary head"""
        return hasattr(self,
                       'auxiliary_head') and self.auxiliary_head is not None
bool: whether the segmentor has auxiliary head
ControlNet-v1-1-nightly/annotator/uniformer/mmseg/models/segmentors/base.py