Merge pull request #1424 from alex/verify-interfaces

Fixes #1024 -- a utility function for checking an implementor against an ABC