1) Parameter type changed from boolean to Boolean.
2) Return type of checkOut function is changed from void to boolean.