If you are expecting a reference I would not recommend using UNIVERSAL::isa this way because the next one who has to deal with your code could believe that there is an object called 'HASH'. (Although this seems not to be very likely but I've seen worse things... :/ ).
If you want to check a reference I would advise you to keep using ref().