code: def _or(document: Document, conditions: List[Dict[str, Any]]) -> bool:
      return any(
          _comparison_condition(condition, document)
          for condition in conditions
      )
  
imports: from typing import List, Any, Union, Dict
  from dataclasses import fields
  from datetime import datetime
  import pandas
  from haystack.dataclasses import Document
  from haystack.errors import FilterError
label_desc: Use image node_id 3 for calling a global function with example usage: _or(document, conditions) and returns: any