'Return true if the host doesn\'t
match the LogicMonitor account'

def is_changed(self):

    self.module.debug('Running    Host.is_changed')
    ignore = ['system.categories', 'snmp.version']
    hostresp = self.get_host_by_displayname(self.displayname)
    if (hostresp is None):
        hostresp = self.get_host_by_hostname(self.hostname, self.collector)
    if hostresp:
        self.module.debug('Comparing    simple    host    properties')
        if (hostresp['alertEnable'] != self.alertenable):
            return True
        if (hostresp['description'] != self.description):
            return True
        if (hostresp['displayedAs'] != self.displayname):
            return True
        if (self.collector and hasattr(self.collector, 'id') and (hostresp['agentId'] != self.collector['id'])):
            return True
        self.module.debug('Comparing    groups.')
        if (self._compare_groups(hostresp) is True):
            return True
        propresp = self.get_properties()
        if propresp:
            self.module.debug('Comparing    properties.')
            if (self._compare_props(propresp, ignore) is True):
                return True
        else:
            self.fail(msg='Error:    Unknown    error    retrieving    host    properties')
        return False
    else:
        self.fail(msg='Error:    Unknown    error    retrieving    host    information')
