You want to catch if the player is holding the shift walking or if the player is walking?
I know they sound similar but they're different because shift walking its the maxspeed times cl_movespeedkey client cvar value equal to player speed or greater than it.
And the other one is any speed equal or below 135/210 is said to trigger the walking animation.