def IsAlexaSite(self,hostname):
		labels = hostname.split(".")
		for i in range(len(labels)-1):
			index = self.alexa.get(".".join(labels[i:]),-1)
			if index > 0:
				return index
		
		return 0
return Alexa ranking for a hostname
dataset/ETHPy150Open operasoftware/tlsprober/alexa.py/Alexa.IsAlexaSite