Check for instanceOf