def is_supported(unit):
 return (unit in (functions.get_keys(INFORMATION_UNITS) + TIME_UNITS))

def is_supported ( unit ) : return ( unit in ( functions . get_keys ( INFORMATION_UNITS ) + TIME_UNITS ) )
check if api request version satisfies version restrictions .