key existence checking is safe against falsy objects