Implement isAssignableFrom()