It would be helpful to have function that test that a given object is of a particular types (TypeIs). All the types provided by the SDK python could have support for those helper function
Reference: https://docs.python.org/3/library/typing.html#typing.TypeIs