How to check a hash whether exist on local ipfs repo or not?

I think this post has an answer to your question:

Edit: pinned hashes are stored locally, but they are not the only hashes that get stored locally.

1 Like