why not just "if self.__ignoreCommand:" since there is nothing to do if e.g. it is empty