Q:howto Determine If User Is Running The Demo Or The Full Renoise Vers

I have an idea for a Renoise tool. It however it needs to determine, if the user is running the Demo or the Full version of Renoise. Any hints?

function isDemo() return string.find(renoise.RENOISE_VERSION, "Demo") ~= nil end  
function isFull() return not isDemo() end  

Tested and it works, thanks Bantai.