mybool

mastml.conf_parser.mybool(string)[source]

Method that converts a string equal to ‘True’ or ‘False’ into type bool

Args:
string: (str), a string as ‘True’ or ‘False’
Returns:
bool: (bool): bool as True or False