def getcustomservice(self, objid, service):
        ''' Get any custom service configured for the given node that
            matches the specified service name. If no custom service
            is found, return the specified service.
        '''
        if self.customservices in objid:
            for s in self.customservices[objid]:
                if s._name == service._name:
                    return s
        return service
dataset/ETHPy150Open coreemu/core/daemon/core/service.py/CoreServices.getcustomservice/swapped operands of `in`