FileUploadControl.isReplaceDuplicateFiles

Returns true if files with duplicate names will be replaced, otherwise returns false. If false, a unique file will be created with _x appended to the original name. e.g myfile.txt is created as myfile_1.txt if the file already exists.

Further documentation.

returns boolean