docs: def validate_start_end_range(range_tuple):
      """
      Perform basic sanity checks on a timeframe.
  
      Args:
          range_tuple (tuple): ``(start, end)`` tuple as returned by
              ``complete_timeframe``.
  
      Raises:
          ValueError: If start > end.
  
      Returns:
          tuple: ``(start, end)`` tuple that passed validation.
  
      Note:
          ``timeframes`` may be incomplete, especially if ``complete_timeframe(partial=True)`` has
          been used to construct them.
      """
  
      start, end = range_tuple
  
      if (start and end) and (start > end):
          raise ValueError(_("Start after end!"))
  
      return range_tuple