[Python] isinstance() for checking object type isinstance("foo", str) isinstance(1, int) isinstance(4.0, float)