title: How to check in which persistent store a managed object stored?
body: <p>My app uses core data to store data and it has multiple configurations: One configuration to sync with iCloud and other one for local data.</p>
  <p>I did it by creating 2 NSPersistentStoreDescription, then assign them to the containter:</p>
  <pre><code>container.persistentStoreDescriptions = [cloud, local]
  </code></pre>
  <p>Those 2 persistent stores use the same model and entities.
  If I want to add a managedObject to a store, I uses this code after inserting and before saving context.</p>
  <pre><code>assignObject:toPersistentStore:
  </code></pre>
  <p>Problem is in a list of all fetched objects in both stores, is there a way to know in which persistent store a specific managed object stored?</p>