isInterfaceOrObject

Determines whatever declaration is an interface or an object.