build keyExist