So ask yourself, honestly, if you regularly engage in this sampling of bad pedestrian behaviors, adapted from Dr. Leon James' full list:
Have denigrating thoughts about other pedestrians.
Act in a hostile manner (staring, presenting a mean face, moving faster or closer than expected).
Fail to yield to another pedestrian when it's the polite thing to do.
Walk by a slower moving pedestrian and cut back too soon.
Mutter at other pedestrians.