parameters: (self, color)
return_statement: return ok
docstring: Check if the string color is a legal Tkinter color string.
docstring_summary: Check if the string color is a legal Tkinter color string.
docstring_tokens: Check if the string color is a legal Tkinter color string .
function: def _iscolorstring(self, color):
          """Check if the string color is a legal Tkinter color string.
          """
          try:
              rgb = self.cv.winfo_rgb(color)
              ok = True
          except TK.TclError:
              ok = False
          return ok
function_tokens: def _iscolorstring ( self , color ) : try : rgb = self . cv . winfo_rgb ( color ) ok = True except TK . TclError : ok = False return ok