'Function to compare the host\'s current
properties against provided properties'

def _compare_props(self, propresp, ignore):

    self.module.debug('Running    Host._compare_props...')
    p = {}
    self.module.debug('Creating    list    of    properties')
    for prop in propresp:
        if (prop['name'] not in ignore):
            if (('*******' in prop['value']) and self._verify_property(prop['name'])):
                p[prop['name']] = self.properties[prop['name']]
            else:
                p[prop['name']] = prop['value']
    self.module.debug('Comparing    properties')
    for prop in self.properties:
        if ((prop not in p) or (p[prop] != self.properties[prop])):
            self.module.debug('Properties    mismatch')
            return True
    self.module.debug('Properties    match')
