this is wrong, its a proxy, you need to use ``instanceof``