def has_input_ports(self):
        return len(self.input_ports)>0
Factory method to return an instance of an appropriate Response
dataset/ETHPy150Open VisTrails/VisTrails/vistrails/core/inspector.py/PipelineInspector.has_input_ports--crossover with--dataset/ETHPy150Open nigelsmall/httpstream/httpstream/http.py/Response.wrap