Extracing sample IDs into a Python List

Hi all. With a MatrixTable, can I know if there is a good way to extract sample IDs (mt.s) who are heterozygous for all of the variants into a Python list? I usually do it by popping it into the entries, but would appreciate it if there is a more efficient way!