How can I tell if my WAM function is executing in a browser VLF WEB or under NET VLF NET

Visual LANSA Framework

How can I tell if my WAM function is executing in a browser (VLF.WEB) or under .NET (VLF.NET)?

This is how you do it in a WAM:    

If Cond(#ThisHandler.DotNET = TRUE)

Message Msgtxt('Execution platform on client is .NET')

Else

Message Msgtxt('Execution platform on client is web browser')

Endif