strbool

Description:

Convert a string value to a boolean.

Input:

String value to convert.

Return:

Returns false if the string is empty or one of: 'false', 'off', '0', 'no'. Otherwise returns true.