Maybe we should use bool as return value? As far as I understand, this is a "check" function which result is always either 0 or 1 in the current implementation, but it would have more semantic sense to use a boolean, wouldn't it?