def is_sub_module(self):
        return self.has_input_ports() or self.has_output_ports()
is_sub_module() -> bool
dataset/ETHPy150Open VisTrails/VisTrails/vistrails/core/inspector.py/PipelineInspector.is_sub_module