def METHOD_NAME(self):
    # type: () -> bool
    """The cache has a global time to live, all elements expire at the same time.
    :return True if the cache is expired."""
    elapsed = time.time() - self._last_ts
    return elapsed > self._interval