'Check if response message is already succeed'

def __check_response__(self, xml_str, xml_name):

    if ('<ok/>' not in xml_str):
        self.module.fail_json(msg=('Error:    %s    failed.' % xml_name))
