[Contact] Added 'instanceof' checking

* [NABI-RSA] TDIS-5814, TDIS-7140