def gethalos checking