If it is one (single) branch that you need to check, for example if you want that branch 'B' is fully merged into branch 'A', you can simply do the following:
$ git checkout A
$ git branch -d B
git branch -d <branchname>
has the safety that "The branch must be fully merged in HEAD."
Caution: this actually deletes the branch B if it is merged into A.