parameters: (attr, key, default='False')
return_statement: return attr.get(key, default).strip().lower() in \
                                      ['true', '1', 't', 'y', 'yes']
docstring: Parse bool string to boolean.
docstring_summary: Parse bool string to boolean.
docstring_tokens: Parse bool string to boolean .
function: def _darknet_parse_bool_str(attr, key, default='False'):
      """Parse bool string to boolean."""
      return attr.get(key, default).strip().lower() in \
                                      ['true', '1', 't', 'y', 'yes']
function_tokens: def _darknet_parse_bool_str ( attr , key , default = 'False' ) : return attr . get ( key , default ) . strip ( ) . lower ( ) in [ 'true' , '1' , 't' , 'y' , 'yes' ]