bestBoolean to me seems like a worse name than bestValue. How about bestClass?