#NEWLINE# @ decorators . memoize #NEWLINE# def _check_features( ) : #NEWLINE# #INDENT# '\n    Looks to see if zpool-features is available\n    ' #NEWLINE# man = salt . utils . which ( 'man' ) #NEWLINE# if ( not man ) : #NEWLINE# #INDENT# return False #NEWLINE# #UNINDENT# cmd = '{man} zpool-features' . format ( man = man ) #NEWLINE# res = __salt__ [ 'cmd.run_all' ] ( cmd , python_shell = False ) #NEWLINE# return ( res [ 'retcode' ] == 0 )