code: def replace_text_intensity(
      texts: Union[List[str], str],
      replace_text: Union[Dict[str, str], str],
      **kwargs,
  ) -> float:
      return (
          100.0
          if isinstance(replace_text, str)
          or any(t in texts for t in replace_text)
          else 0.0
      )
  
imports: from typing import Any, Dict, List, Optional, Union
label_desc: Use image node_id 14 for calling a global function with example usage: replace_text_intensity(texts, replace_text) and returns: unknown