A void means you have declared a method like this It allso means you have no return in the code. Change the method to And obviously throw in a return statement with either a variable which has a true/false value or return true/false directly.
public void method()
public boolean method()
