Test for whether a DNS TXT record is an SPF record

has_spf(spf_rec)

Arguments

spf_rec
a character vector of DNS TXT records