#NEWLINE# def version( * names , **kwargs ) : #NEWLINE# #INDENT# "\n    Returns a string representing the package version or an empty string if not\n    installed. If more than one package name is specified, a dict of\n    name/version pairs is returned.\n\n    CLI Example:\n\n    .. code-block:: bash\n\n        salt '*' pkg.version <package name>\n        salt '*' pkg.version <package1> <package2> <package3> ...\n    " #NEWLINE# if ( len ( names ) == 1 ) : #NEWLINE# #INDENT# return str ( __proxy__ [ 'rest_sample.package_status' ] ( names [ 0 ] ) )