code: def check_null_id(args):
      if not getattr(args, "id", None):
          raise ValueError(
              "Dataset ID not specified, add --id <dataset_id>"
          )
  
imports: import json
  import os
  import shutil
  from argparse import ArgumentParser, HelpFormatter
  from functools import partial
  from typing import Sequence
  from pathlib2 import Path
  import clearml.backend_api.session
  from clearml.datasets import Dataset
  from clearml.version import __version__
label_desc: Use image node_id 1 for calling a global function with example usage: check_null_id(args) without return types