def hasContent_(self):
        if (
            self.serviceType is not None and
            self.serviceId is not None or
            self.SCPDURL is not None or
            self.controlURL is not None or
            self.eventSubURL is not None
            ):
            return True
        else:
            return False
dataset/ETHPy150Open iancmcc/ouimeaux/ouimeaux/device/api/xsd/device.py/serviceType.hasContent_/operator `or` -> `and`