Check returned instance type