key_exists is depricated