Seems like we should have a utility function to parse strings like "true" and "false" into boolean representations, instead of just calling bool() on them. (`bool("false") == True`) Can we use that utility function here? If it doesn't exist, can you write it?