code: public LifecycleState getState(Object obj)
      {
          LifecycleStateWrapper lifecycleState = objectStates.get(obj);
          if ( lifecycleState == null )
          {
              return hasStarted() ? LifecycleState.ACTIVE : LifecycleState.LATENT;
          }
          else {
              synchronized(lifecycleState) {
                  return lifecycleState.get();
              }
          }
      }
docs: Return the current state of the given object or LATENT if unknown
  
  @param obj object to check
  @return state