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