def all_living_collectors():
 for col in all_collectors():
  if (col.proc is not None):
   (yield col)

def all_living_collectors ( ) : for col in all_collectors ( ) : if ( col . proc is not None ) : ( yield col )
generator to return all defined collectors that have an active process .