docs: public boolean attach() {
          if (!attached) {
              attached = true;
              if (isLocalBeanStoreSyncNeeded()) {
                  if (!beanStore.delegate().isEmpty()) {
                      // The local bean store is authoritative, so copy everything to the backing store
                      for (BeanIdentifier id : beanStore) {
                          ContextualInstance<?> instance = beanStore.get(id);
                          String prefixedId = getNamingScheme().prefix(id);
                          ContextLogger.LOG.updatingStoreWithContextualUnderId(instance, id);
                          setAttribute(prefixedId, instance);
                      }
                  }
                  if (!isAttributeLazyFetchingEnabled()) {
                      // Additionally copy anything not in the local bean store but in the backing store
                      fetchUninitializedAttributes();
                  }
              }
              return true;
          } else {
              return false;
          }
      }