This method is used to check whether license is activated or not.
The return value is always of type Result Struct.
The fields of the struct are filled dependend on the method call.
error: a value of 0 indicates that the call has succeeded.
boolValue: true = the license is activated otherwise false
the remaining values of the result struct are unused.