check for value in cli