code: def _check_pp_poison(pp_poison: float) -> None:
      """
      Return an error when a poison value is invalid
      """
      if not 0 <= pp_poison <= 1:
          raise ValueError("pp_poison must be between 0 and 1")
  
file_path: adversarial-robustness-toolbox/art/attacks/poisoning/adversarial_embedding_attack.py
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import logging
  from typing import Tuple, Union, List, Optional, TYPE_CHECKING
  import numpy
  from art.attacks.attack import PoisoningAttackTransformer
  from art.attacks.poisoning.backdoor_attack import PoisoningAttackBackdoor
  from art.estimators.classification.keras import KerasClassifier
label_desc: Use image node_id 1 for calling a global function with example usage: _check_pp_poison(pp_poison) without return types