Revised keyExists()

Got rid of useless code