code: def _is_idempotent(self, output):
          
  
          # Remove blank lines to make regex matches easier
          output = re.sub(r'\n\s*\n*', '\n', output)
  
          # Look for any non-zero changed lines
          changed = re.search(r'(changed=[1-9][0-9]*)', output)
  
          if changed:
              # Not idempotent
              return False
  
          return True
docs: Parses the output of the provisioning for changed and returns a bool.
  
          :param output: A string containing the output of the ansible run.
          :return: bool