def METHOD_NAME(self):
    """
    Check whether the snapshot is created successfully.
    """
    snapshot_info = str(self.vm.monitor.info("block"))
    snapshot_node_name = self.params.get("snapshot_node_name")
    if self.params.get("snapshot_file") not in snapshot_info:
        self.test.fail("Snapshot doesn't exist:%s" % snapshot_info)
    LOG_JOB.info("Found snapshot in guest")
    if snapshot_node_name:
        match_string = "u?'node-name': u?'%s'" % snapshot_node_name
        if not re.search(match_string, snapshot_info):
            self.test.fail("Can not find node name %s of"
                           " snapshot in block info %s"
                           % (snapshot_node_name, snapshot_info))
        LOG_JOB.info("Match node-name if they are same with expected")