Don't have Telegram yet? Try it now!
https://kodejava.org/how-do-i-check-if-a-class-represent-an-interface-type/
How do I check if a class represent an interface type?