Caching the output of Generate::is()