Jooels solution should work, for example:

Code:

Break On

$System = CreateObject("Kixtart.System")

$System = 0

If $System
?"System does exist..."
Else
?"System does not exist..."
Endif

Exit 1