Rename a local variable in the getNextStep method for clarity, and convert it from an integer to a boolean