def get_properties(self, name, prop_names, property_interface):
        objpath = self.interface.GetUnit(name)
        proxy = self.bus.get_object(SYSTEMD_BUS, objpath)
        interface = dbus.Interface(proxy, PROP_IFACE)
        properties = interface.GetAll(property_interface)
        if prop_names:
            tmp_properties = {}
            for item in prop_names:
                if properties in item:
                    tmp_properties[item] = properties[item]
                else:
                    tmp_properties[item] = None
            properties = tmp_properties
        return properties
dataset/ETHPy150Open cloudify-cosmo/cloudify-manager/rest-service/manager_rest/systemddbus.py/DBusClient.get_properties/swapped operands of `in`