code: public final boolean isStatefulSessionBean(BeanId id) {
          boolean result = id.getHome().isStatefulSessionHome();
          if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
              Tr.debug(tc, "isStatefulSessionBean : " + result + ", " + id);
          return result;
      }
docs: Utility method used by UOWControl to determine if a
  given BeanId corresponds to a stateful session bean. <p>