Obtenga boolean de String Java
String str = "true";
boolean boolean = Boolean.parseBoolean(str);
Wicked Weevil
String str = "true";
boolean boolean = Boolean.parseBoolean(str);