If $obj hasn't been blessed at all, that will still fail.
In reply to Re: Re: has it been blessed? by ehdonhon in thread has it been blessed? by pmc2