public Goolean or(Function alternative){ if(value){ return new Goolean(true); } return or(new Goolean(alternative.apply(value))); } ///// o.getLiczby().isEmptyG().or( s -> { return sthFun(); }).whenTrue(s->{System.out.println("asd");});