check if commit has is included in tag

We use git tags for tagging our docker images and sometimes I have to check that a specific git tag, contains a specific commit hash.

git checkout <tag>
git tag contains <commit_hash>