Guard.check()

Run the guard against the given text.

Usage

Source

Guard.check(text)

Parameters

text: str
Message text to validate.

Returns

GuardResult
The outcome with action, optional rewrite, and reason.