No, Object.keys() only returns an array of an object's own enumerable properties. It won't check for keys in nested objects. You'll have to navigate to the nested object first and then use Object.keys().