code: def is_void(at):
      """Returns True if the given object is an ``adatetime`` with all of its
      attributes equal to None.
      """
  
      if isinstance(at, datetime):
          return False
      return all(
          (getattr(at, attr) is None) for attr in adatetime.units
      )
  
imports: import calendar
  import copy
  from datetime import date, datetime, timedelta
  from whoosh.compat import iteritems
label_desc: Use image node_id 11 for calling a global function with example usage: is_void(at) and returns: all, False