I think the point is that if you're searching for a item in an array, it's never going to give you a negative value if it actually found it. It's going to give you -1 if it wasn't found which is the same as all the other languages I know.
So just remember
if result == -1:
# object not found
So don't take that result to mean the item was found as the last index of the array. That'll never be the case. If it found it at the last place it'll just give the last index (positive value)