pub fn is_nested_parallelism_allowed() -> bool
Check if nested parallelism is allowed at the current level