def _check_new_page(self):
        # be a little on the safe side
        # we're adding 1 extra newline per page
        if self._count + len(self._current_page) >= 1980:
            # add the page
            self._current_page.append('```')
            self._pages.append('\n'.join(self._current_page))
            self._current_page = ['```']
            self._count = 4
            return True
        return False
dataset/ETHPy150Open Rapptz/discord.py/discord/ext/commands/formatter.py/HelpFormatter._check_new_page/original