'Returns hash of changed cfg else False.'

def cfg_changed(self):

    mtime = self.get_cfg_mtime()
    if (mtime > self.cfg_mtime):
        LOG.info('Configuration    file    has    been    updated.')
        self.cfg_mtime = mtime
        _hash = self.get_cfg_hash()
        if (_hash != self.cfg_hash):
            LOG.info('Detected    change    in    configuration.')
            return _hash
    return False
