ちゅうい this function returns success for success or failure for failure be warned that you must explicitly compare the return value with success or failure because of the underlying values of those constants a simple boolean expression will not be interpreted as you intended 