public boolean isEven(int x) { return x % 2 == 0; //Does work }