I have two methods `boolean foo1()` and `boolean foo2()`. If at least one of these is `true` then I need to call `save()`. But I need both functions to run.

If I write `if (foo1() || foo2()) {save()}` then `foo2()` will not run due to the way `||` works.

Currently I write

```
boolean f1 = foo1();
boolean f2 = foo2();

if (f1 || f2) {save()}

```

but this is not very elegant.

Am I missing something obvious here?