def same_kind(src, dest):
 return ((DATETIME_UNITS[src] < 5) == (DATETIME_UNITS[dest] < 5))

def same_kind ( src , dest ) : return ( ( DATETIME_UNITS [ src ] < 5 ) == ( DATETIME_UNITS [ dest ] < 5 ) )
whether the *src* and *dest* units are of the same kind .