turtle.TurtleScreen._type

TurtleScreen._type(item)

Return ‘line’ or ‘polygon’ or ‘image’ depending on type of item.