rasa/core/utils.py
def bool_arg(request: Request, name: Text, default: bool = True) -> bool:
    """Return a passed boolean argument of the request or a default.

    Checks the `name` parameter of the request if it contains a valid
    boolean value. If not, `default` is returned."""

    return default_arg(request, name, str(default)).lower() == 'true'
Return a passed boolean argument of the request or a default.

    Checks the `name` parameter of the request if it contains a valid
    boolean value. If not, `default` is returned.
Return a passed boolean argument of the request or a default.
Checks the `name` parameter of the request if it contains a valid
boolean value. If not, `default` is returned.
Return a passed boolean argument of the request or a default . Checks the ` name ` parameter of the request if it contains a valid boolean value . If not ` default ` is returned .
def bool_arg(request: Request, name: Text, default: bool = True) -> bool:
    return default_arg(request, name, str(default)).lower() == 'true'
def bool_arg ( request : Request , name : Text , default : bool = True ) -> bool : return default_arg ( request , name , str ( default ) ) . lower ( ) == 'true'
Return a passed boolean argument of the request or a default.
Return a passed boolean argument of the request or a default .
"""Return a passed boolean argument of the request or a default.

    Checks the `name` parameter of the request if it contains a valid
    boolean value. If not, `default` is returned."""
request
Request
name
Text
default
bool