There is an ongoing outage on the primary CPAN mirror. It is possible to work around the issue by using MetaCPAN as a mirror.

my $is_duplicate = $dseq->add_seq($sequence_object)

Returns 1 if duplicate, else 0