Updated is_ratelimited to match the documented behavior.