The code does not check if the restricted value changes so it does not impact what the method will return.