code: def parquet_export_is_partial(parquet_file_url: str) -> bool:
      """
      Check if the Parquet export is the full dataset or if it's partial.
      The check is based on the split directory name from the URL.
      If it starts with "partial-" then it is a partially exported split.
  
      Args:
          parquet_file_url (str): URL of a Parquet file from the Parquet export
              It must be placed in a directory name after the split,
              e.g. "train" or "partial-train" for a partial split export.
  
              You can also pass the URL of any file in the directory since
              this function only checks the name of the parent directory.
              For example it also works for DuckDB index files in the same
              directory as the Parquet files.
  
      Returns:
          partial (bool): True is the Parquet export is partial,
              or False if it's the full dataset.
      """
      split_directory_name_for_parquet_export = parquet_file_url.rsplit(
          "/", 2
      )[1]
      return split_directory_name_for_parquet_export.startswith(
          PARTIAL_PREFIX
      )
  
imports: import asyncio
  import logging
  import os
  from dataclasses import dataclass, field
  from functools import lru_cache
  from typing import Literal, Optional, TypedDict, Union
  import numpy
  import pyarrow
  import pyarrow.parquet
  from datasets import Features
  from datasets.features.features import FeatureType
  from datasets.utils.py_utils import size_str
  from fsspec.implementations.http import HTTPFile, HTTPFileSystem
  from huggingface_hub import HfFileSystem
  from pyarrow.lib import ArrowInvalid
  from libcommon.constants import CONFIG_PARQUET_METADATA_KINDS
  from libcommon.prometheus import StepProfiler
  from libcommon.simple_cache import get_previous_step_or_raise
  from libcommon.storage import StrPath
  from libcommon.viewer_utils.features import get_supported_unsupported_columns
label_desc: Use image node_id 1 for calling a global function with example usage: parquet_export_is_partial(parquet_file_url) and returns: split_directory_name_for_parquet_export