Detect incomplete subclass of abstract class, python

There's a function for that in the inspect module: inspect.isabstract(some_object) will tell you whether an object is an abstract class.

It returns True for an abstract class, and False for anything else, including abstract methods, classes that inherit from abc.ABC but are still concrete because don't have abstract methods, and objects that have nothing to do with abstract classes, like 3.