Function StackComparisionsis LengthCheck the length of the value is in specified range Output return boolean valuePreviousis In RangeNextis Max