Function isNestingObject

Checks if input is a Nesting Object - it follows IsNestingObject type