Slight refactoring of checks for walk to improve readability