def cluster_exists(version, name='main'):
 return ('{0}/{1}'.format(version, name) in cluster_list())

def cluster_exists ( version , name = 'main' ) : return ( '{0}/{1}' . format ( version , name ) in cluster_list ( ) )
checks if a given version and name of a cluster exists .