def check_obj(obj_out):
    """
    Check that there are a minimum amount of stuff written into the .obj. If not, then the ISO level is wrong.
    (obj_out is a string containing the output of emmaptosurf)
    """
    for line in obj_out.split("\n"):
        linesplit = line.split(" ")
        if linesplit[0] == "Wrote":
            if int(linesplit[1]) < 1000 or int(linesplit[4]) < 1000:
                return False
            else:
                return True