Selection.only_std_residues() — select only standard residues

only_std_residues()
This returns a new selection containing only atoms from the current selection in standard residue types (i.e., everything but BLK and HETATM).