Add `is_ratelimited` helper function
fix formatting
pep8 fixes
More formatting stuff
Merge pull request #20 from rehandalal/helper-function

Add `is_ratelimited` helper function