(at)
return all((getattr(at, attr) is None) for attr in adatetime.units)
Returns True if the given object is an ``adatetime`` with all of its
    attributes equal to None.
Returns True if the given object is an ``adatetime`` with all of its
    attributes equal to None.
Returns True if the given object is an adatetime with all of its attributes equal to None .
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)
def is_void ( at ) : if isinstance ( at , datetime ) : return False return all ( ( getattr ( at , attr ) is None ) for attr in adatetime . units )