@staticmethod
	def check_environments(a, b):

		return all(
			k in b and b[k] == v for k, v in a.items()
		)
Will return true if a is a subset of b.
dataset/ETHPy150Open ucrcsedept/galah/galah/shepherd/flockmanager.py/FlockManager.check_environments