Probing effective field theory operators in the associated production of top quarks with a Z boson in multilepton final states at $\sqrt{s} = $ 13 TeV