(node['etc']['group'].key?(account['gid']) ||
               node['etc']['group'].values.detect do |g|
                 g['gid'] == account['gid']