def forget(self, key):
        """
        Remove an item from the cache.

        :param key: The cache key
        :type key: str

        :rtype: bool
        """
        path = self._path(key)

        if os.path.exists(path):
            os.remove(path)

            return True

        return False