def METHOD_NAME(self, decoration):
    """
    Removes a text decoration from the editor.
    :param decoration: Text decoration to remove
    :type decoration: spyder.api.TextDecoration
    update: Bool: should the decorations be updated immediately?
        Set to False to avoid updating several times while removing
        several decorations
    """
    try:
        self._decorations["misc"].METHOD_NAME(decoration)
        self.update()
        return True
    except ValueError:
        return False