
    2                     2    d Z ddlmZ ddlmZ ddlmZ d Zy)z.Utility class for working with batch versions.    )absolute_import)division)unicode_literalsc                     | j                   j                  j                  d      xs% | j                   j                  j                  d      xr | j                  du }| S )zIReturns true if the batch is using resource manager based on the version.12N)runtimeConfigversion
startswithrayBatch)batchis_gce_sparks     Elib/googlecloudsdk/command_lib/dataproc/batches/batch_version_util.pyis_rm_batchr      s`     !!,,S1 5				$	$	/	/	4 	$  	    N)__doc__
__future__r   r   r   r    r   r   <module>r      s     5 &  'r   