Determines if the return value is cached. Always returns false if
        the registered value is not an instance of :class:`FunctionCache`.

        :param name:
            The name of the provider.

def is_cached(self, name):
        """Determines if the return value is cached. Always returns false if
        the registered value is not an instance of :class:`FunctionCache`.

        :param name:
            The name of the provider.
        """
        try:
            cached = super(Container, self).get(name).cached
        except AttributeError:
            cached = False

        return cached