Check that the given `watch_via` is a class.