Don't have Telegram yet? Try it now!
https://www.muchhala.in/2012/04/09/javascript-check-if-a-function-exists-or-not/
[JavaScript] Check if a function Exists or Not