isClassOrInterfaceOrObject

Determines whatever declaration is a class, an interface or an object.