def _check_dna(self, dna):
valid_chars = set(self.GENETIC_MATERIAL_OPTIONS)<EOL>assert all(char in valid_chars for char in dna)<EOL>
Check that a DNA string only contains characters in ``GENETIC_MATERIAL_OPTIONS``.