parameters: (text)
return_statement: return text and text.lower() in ["true", "y", "yes", "1"]
docstring: Parses a boolean value from the given text
docstring_summary: Parses a boolean value from the given text
docstring_tokens: Parses a boolean value from the given text
function: def str_to_bool(text):
      """
      Parses a boolean value from the given text
      """
      return text and text.lower() in ["true", "y", "yes", "1"]
function_tokens: def str_to_bool ( text ) : return text and text . lower ( ) in [ "true" , "y" , "yes" , "1" ]