method

has_key?

ruby latest stable - Class: SDBM
has_key?(p1)
public

Returns true if the database contains the given key.