You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: test_fileutils.rb
    path of file: ./repos/artichoke/artichoke-backend/vendor/ruby/test/fileutils
    
    the code of the file until where you have to start completion: # frozen_string_literal: true
# $Id$

require 'fileutils'
require 'etc'
require_relative 'fileasserts'
require 'pathname'
require 'tmpdir'
require 'stringio'
require 'test/unit'

class TestFileU
    
    def check_have_symlink?
      Dir.mktmpdir do |dir|
        Dir.chdir(dir) do
          File.symlink "symlink", "symlink"
        end
      end
    rescue NotImplementedError, Errno::EACCES
      return false
    rescue
      return true
    end