How to check disconnected vertices in a triangular mesh

Are you aware of BinaryFillholeImageFilter? It sounds like it should do the trick.