Checking for cache?

On every commit I’m doing a heavy git-lfs checkout that has pressure on the bandwidth use of the LFS provider. Normally, I checkout and create a cache to use in other steps: <checkout-project-{{ .Revision}}. However, most of the time non-LFS files change in the tree, so it doesn’t make sense to perform a git-lfs pull in addition to normal git pull. I can check if the LFS files have changed or not before doing the pull, but if I don’t need to lfs pull there’s no possibility to re-use a cache from previous commit.

I would like to have some sort of caching check by key, that would check if the cache with the same key already exists and proceed with that, otherwise create a new cache. Is this possible?