Pipe dope on my temperature sending unit. Is this okay?

pipe threads require a sealant, period, teflon tape, pipe dope, # 2 permatec, , without it, it will leak,,