Virtual register operand

Hi,

Is there a simple way to check if a given instruction operand (represented by Value *) is a virtual register or otherwise?

Thanks

BR/Nizam