in reply to Getting values from a Hash from user input
if (exists $words{$inData}) { [download]
See exists.