def _sheep_available(self, identity):

		sheep_environment = self._flock[identity]

		for i in self._request_queue.keys()[:]:
			if FlockManager.check_environments(i.environment, \
					sheep_environment):
				if self._dispatch_match_found(identity, i):
					break
Called internally whenever a new sheep becomes available.
dataset/ETHPy150Open ucrcsedept/galah/galah/shepherd/flockmanager.py/FlockManager._sheep_available