code: public <T> T getDelegatedFragment(ActorIntent delegatedIntent, android.support.v4.app.Fragment baseFragment, Class<T> type) {
  
          if (delegatedIntent != null &&
                  delegatedIntent instanceof ActorIntentFragmentActivity &&
                  ((ActorIntentFragmentActivity) delegatedIntent).getFragment() != null
                  && type.isInstance(((ActorIntentFragmentActivity) delegatedIntent).getFragment())) {
              return (T) ((ActorIntentFragmentActivity) delegatedIntent).getFragment();
          } else {
              return (T) baseFragment;
          }
  
      }
docs: Method is used internally for getting delegated fragment