Checks to make sure the otherview is an actual type of view class before trying to remove it