def file_has_articles(nzf):
 has = False
 decodetable = nzf.decodetable
 for articlenum in decodetable:
  sleep(0.01)
  article = decodetable[articlenum]
  data = ArticleCache.do.load_article(article)
  if data:
   has = True
 return has

def file_has_articles ( nzf ) : has = False decodetable = nzf . decodetable for articlenum in decodetable : sleep ( 0.01 ) article = decodetable [ articlenum ] data = ArticleCache . do . load_article ( article ) if data : has = True return has
do a quick check to see if any articles are present for this file .