Context.hasContextType

Checks if context has context_type.

class Context
bool
hasContextType
()

Parameters

contextType string

Context type to check.

Return Value

Type: bool

true if context has context_type.