Function to get information about account type (Demo/Live)

 

Hi,

is there a function to get the information about the account type? I have to know, if the account is a demo or a live account.

 

Thx. 

 
 
Great, so simple, thank you.
Reason: