I have to write function that returns a bool that is true if it meets a certain condition, otherwise it should return false. I don't know what this means. I have never heard of the word "bool".
Would it be something like this?
if(... == 0)