SHOWNP SHOWN?
Outputs TRUE if the turtle is shown (visible), FALSE if the turtle is hidden. You can use SHOWTURTLE and HIDETURTLE to show and hide the turtle.
SHOWTURTLE SHOW SHOWNP true HIDETURTLE SHOW SHOWNP false
SHOWTURTLE SHOW SHOWNP
HIDETURTLE SHOW SHOWNP