code: def _less_than_equal(document_value: Any, filter_value: Any) -> bool:
      if document_value is None or filter_value is None:
          # We can't compare None values reliably using operators '>', '>=', '<', '<='
          return False
  
      return not _greater_than(
          document_value=document_value, filter_value=filter_value
      )
  
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 10 for calling a global function with example usage: _less_than_equal(document_value, filter_value) and returns: unknown, False