def is_stale(self, resource, path):
<EOL>return True<EOL>
Is the cache stale for the given resource?

:param resource: The :class:`Resource` being cached.
:param path: The path of the resource in the cache.
:return: True if the cache is stale.