/** True when the active route is PO Workbench (or nested). */
export function isPoWorkbenchRoute(pathname: string | null): boolean {
  if (!pathname) {
    return false;
  }
  return pathname === "/po/workbench" || pathname.startsWith("/po/workbench/");
}
