def boto_supports_volume_encryption():
 return (hasattr(boto, 'Version') and (LooseVersion(boto.Version) >= LooseVersion('2.29.0')))

def boto_supports_volume_encryption ( ) : return ( hasattr ( boto , 'Version' ) and ( LooseVersion ( boto . Version ) >= LooseVersion ( '2.29.0' ) ) )
check if boto library supports encryption of ebs volumes returns: true if boto library has the named param as an argument on the request_spot_instances method .