code: def validate_query_param(ctx, param, kwargs):
      for kwarg in kwargs:
          if not re.match(r"\w+=.+", kwarg):
              raise click.BadParameter(
                  "must have the format 'keyword=value'"
              )
      return kwargs
  
file_path: sentinelsat/sentinelsat/scripts/cli.py
imports: import json
  import logging
  import math
  import os
  import re
  import click
  import geojson
  import requests.utils
  from tqdm.auto import tqdm
  from sentinelsat import __version__, make_path_filter
  from sentinelsat.sentinel import SentinelAPI, geojson_to_wkt, is_wkt, placename_to_wkt, read_geojson
label_desc: Use image node_id 2 for calling a global function with example usage: validate_query_param(ctx, param, kwargs) and returns: kwargs