Can you change this to `if self._drawRect is not None:` ? I know that it is valid and correct python as-written, however I think it is clearer to do the conversion to bool explicitly.