asserter::__get() can return any type of object, so we should test its return value to handle it correctly in phpArray asserter.