def add(self, key, val, minutes):
        """
        Store an item in the cache if it does not exist.

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

        :param val: The cache value
        :type val: mixed

        :param minutes: The lifetime in minutes of the cached value
        :type minutes: int

        :rtype: bool
        """
        return self._memcache.add(self._prefix + key, val, minutes * 60)
def add ( self , key , val , minutes ) : return self . _memcache . add ( self . _prefix + key , val , minutes * 60 )
Store an item in the cache if it does not exist.

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

        :param val: The cache value
        :type val: mixed

        :param minutes: The lifetime in minutes of the cached value
        :type minutes: int

        :rtype: bool