def check_input(self, port_name):
        if not self.has_input(port_name):
            raise ModuleError(self, "'%s' is a mandatory port" % port_name)
check_input(port_name) -> None.
dataset/ETHPy150Open VisTrails/VisTrails/vistrails/core/modules/vistrails_module.py/Module.check_input