Add new function

CheckProbability
check if is in  the probability