state.py: top -> top_, to avoid shadowing the func
Merge pull request #5133 from hulu/state-top-shadowing

state.py: top -> top_, to avoid shadowing the func