def getSubscribedIp4Ranges(self):
		if self.subscribedIp4Ranges.all().count() > 0:
			return self.subscribedIp4Ranges.all()
		else:
			#Return global (all) ranges
			return Ip4Range.objects.filter(isGlobal=True)
dataset/ETHPy150Open fp7-ofelia/ocf/vt_manager/src/python/vt_manager/models/VTServer.py/VTServer.getSubscribedIp4Ranges/original