Hello everyone!

I have made a pseducode for a binary search :

BinarySearch()
Set first = 1
Set last = n
set mid = 0
Repeat
Found = false
mid = (first+last)/2
if WantedKey = Key[mid] then
found = true
if WantedKey < Key[mid] then
last = mid - 1
else
first = mid + 1
end if
until not found

Here the variable "found" is initialised to false. And its value only will change to true when the item is found in the list. The last line reads : unitl not found. Does this mean "until found = true" or does it mean "until found = false", considering that I initialised the variable to false. Also, NOT(false) will make TRUE.
Am I right?

Thank You