Just return true or false when you need to return the result, no need to store it in a variable.