Can we check whether a njit function has a valid cache?

Thank you! If I understand correctly, this stats will be updated after the invocation (foo(10)). Is there anyway to query the cache state with the signature but not actually trigger the compilation?

I am doing this to investigate whether cache is working in some special cases such as this post. However, as you guys could kindly provide informative and timely response, I may not rely on this cache check too much :slight_smile: