Run »
class myObj: name = "John" y = myObj() x = isinstance(y, myObj) print(x)
True