Have a function that does a type check and returns `true` if the passed in object is either a msrest or dpg model