method

key?

ruby latest stable - Class: DBM
key?(p1)
public

Returns true if the database contains the specified key, false otherwise.