Referencing Inputs on Other Actions (Player Blueprint)

How do I reference another input when using an input?

I am setting up a bunny hop input for a player. When a player stops bunny hopping (when they miss the .8 second window), I want them to sprint when they are sprinting (holding shift) and walk when they are walking (not holding shift). But I am unsure how to set this up. I currently have the player set to just walk when they miss the delay to bunny hop.