This should return bool instead of int.