code: def reach_max_num(self):
          
          if self.signal.get('reach_max_num'):
              return True
          if self.max_num > 0 and self.fetched_num >= self.max_num:
              return True
          else:
              return False
docs: Check if downloaded images reached max num.
  
          Returns:
              bool: if downloaded images reached max num.