def _check_delay(self):
if self._previous_request_at:<EOL><INDENT>dif = round(time.time() - self._previous_request_at,<EOL><NUM_LIT:2>) * <NUM_LIT:1000>  <EOL>if dif < self.requests_delay:<EOL><INDENT>time.sleep(<EOL>(self.requests_delay - dif) / <NUM_LIT:1000>)  <EOL><DEDENT><DEDENT>self._previous_request_at = time.time()<EOL>
Checks if a delay is needed between requests and sleeps if True