This function determines whether an expression references a valid Automation object.
IsObject(expression)
Returns True if expression is a variable of Object subtype or a user-defined object; otherwise, it returns False.