I need to apply the filter only if boolean variable "check" is true:
String test = "AB"; List myString = strings.stream() .filter(p-> &