code: def _list_available_hosts(self, *args):
          ''' returns a list of hosts that haven't failed and aren't dark '''
  
          return [ h for h in self.inventory.list_hosts(*args) if (h not in self.stats.failures) and (h not in self.stats.dark)f _list_available_hosts(self, *args):
          ''' returns a list of hosts that haven't failed and aren't dark '''
  
          return [ h for h in self.inventory.list_hosts(*args) if (h not in self.stats.failures) and (h not in self.stats.dark)]
docs: returns a list of hosts that haven't failed and aren't dark