def should_highlight(self) -> bool:
        """
        Determine whether this object should be drawn with highlight
        """
        selected = self.infodock.selected_qblock_code_obj
        return (selected is not None) and (selected is self or selected.obj is self.obj)

        Determine whether this object should be drawn with highlight
        
angrmanagement/ui/widgets/qblock_code.py