switch package:turtle

This parser returns True if the given flag is set and False if the flag is absent