omp_get_nested
int This function returns non-zero if nested parallelism is enabled and 0 if it is disabled.(void)
omp_get_nested description