As far as I know researchers use widely known instruments as IRI (Interpersonal Reactivity Index) or Toronto Empathy Questionnaire. Another good one could be the Basic Empathy Scale by Joliffe and Farrington. Then you can calculate correlations between the different subscales and the presence or not of pets (in the most basic example).