Make state more readable by setting it as boolean