def setFlag(self, flag, state=True):
if state:<EOL><INDENT>self.__flags |= flag<EOL><DEDENT>else:<EOL><INDENT>self.__flags &= ~flag<EOL><DEDENT>
Sets whether or not this flag should be on.

:param      flag  | <Column.Flags>
            state | <bool>