code: def parse_xmlsec_output(output):
      
      for line in output.splitlines():
          if line == 'OK':
              return True
          elif line == 'FAIL':
              raise XmlsecError(output)
      raise XmlsecError(output)
docs: Parse the output from xmlsec to try to find out if the
      command was successfull or not.
  
      :param output: The output from Popen
      :return: A boolean; True if the command was a success otherwise False