'Check if an address belongs to any segment
:param address: The address to check
:return: True if this address belongs to a segment, False otherwise'

def is_occupied(self, address):

    idx = self._search(address)
    if (len(self._list) <= idx):
        return False
    if (self._list[idx].start <= address < self._list[idx].end):
        return True
    if ((idx > 0) and (address < self._list[(idx - 1)].end)):
        return True
    return False
