isMainProcess

isMainProcess()

Function for querying if a process is the delegator or worker process.

Returns:

True if the process is the delegator process in the parallel computation. False if it is a worker process.

Return type:

bool