def is_quota_exceeded(self) -> bool:
        '''Return whether the quota is exceeded.'''

        if self.quota and self._url_table is not None:
            return self.size >= self.quota and \
                   self._url_table.get_root_url_todo_count() == 0
Return whether the quota is exceeded.