def __contains__(self, clr):
for clr2 in self:<EOL><INDENT>if clr.r == clr2.r andclr.g == clr2.g andclr.b == clr2.b:<EOL><INDENT>return True<EOL><DEDENT><DEDENT>return False<EOL>
Returns True if clr's RGB values match a color in the list.