Check If Object Is Instance Of Interface In Java