[Contact] Add checking for constructor being called as normal function.

* [NABI-RSA] TDIS-5818