Typescript's instanceof type guard checks the constructor function, but I don't think it checks all the keys as well. Still, in most cases, it should be enough.
Working with external API, you can use class-validator package for more detailed validation, and class-transformer-validator if you want to transform plain objects (for example, parsed from JSON) to your classes.