%contextIsValid()

Aliases%contextIsValid( )
Parametersinteger @contextId

    Returns 1 if the context associated with the given @contextId is valid
(running or sleeping); otherwise returns 0.