Added a key exists method for use with the __isset method.