Convert this String to bool, returns the result of onLeft for invalid inputs.
onLeft
Either<L, bool> toBoolEither<L>(String str, L Function() onLeft) => str.toBoolEither(onLeft);