bool_cast

sherpa.utils.bool_cast(val)[source]

Converts a string (true|False|on|OFF|etc...) to a boolean value