def db_has_port_with_type(self, key):
        return self.db_ports_type_index in key
dataset/ETHPy150Open VisTrails/VisTrails/vistrails/db/versions/v0_9_1/domain/auto_gen.py/DBConnection.db_has_port_with_type/swapped operands of `in`