First time here? Check out the FAQ!
opencv 3.2 has bug that the bool return value always return true. Use 3.4.1 or above should be fine.