MmIsSessionLeaderProcess

UINT64 __stdcall MmIsSessionLeaderProcess(_EPROCESS *Process){
  return Process == (_EPROCESS *)PsGetCurrentServerSiloGlobals()[109];
}

Referenced by:

MiInitializeSessionGlobals
PspAllocateProcess