def remove_key(self, key):
        """Removes a specified key from Rietveld info.

        Intentionally doesn't allow removal of properties.

        Args:
            key: String; a key to be removed from the current Rietveld info.
        """
        if self.__dict__ not in key:
            return

        del self.__dict__[key]
        self.save()
dataset/ETHPy150Open googlearchive/git-rv/utils.py/RietveldInfo.remove_key/swapped operands of `not in`