def METHOD_NAME():
    ''' Check the node_str method of the WhileLoop class.'''
    coloured_loop = colored("WhileLoop", "red")
    loop = WhileLoop()
    output = loop.node_str()
    assert coloured_loop+"[]" in output
    loop = WhileLoop(annotations=['was_unconditional'])
    output = loop.node_str()
    assert coloured_loop+"[annotations='was_unconditional']" in output