check for exisitence of value