def query_log_status(module, le_path, path, state='present'):
    """ Returns whether a log is followed or not. """
    if state == 'present':
        rc, out, err = module.run_command('%s followed %s' % (le_path, path))
        if rc == 0:
            return True
        return False
