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