@staticmethod<EOL><INDENT>def graftm_package_is_protein(graftm_package):<DEDENT>
found = None<EOL>with open(graftm_package.alignment_hmm_path()) as f:<EOL><INDENT>r = f.read().split("<STR_LIT:\n>")<EOL><DEDENT>for line in r:<EOL><INDENT>if line=='<STR_LIT>':<EOL><INDENT>found = False<EOL>break<EOL><DEDENT>elif line=='<STR_LIT>':<EOL><INDENT>found = True<EOL>break<EOL><DEDENT><DEDENT>if found is None:<EOL><INDENT>raise Exception("<STR_LIT>")<EOL><DEDENT>return found<EOL>
Return true if this package is an Amino Acid alignment package, otherwise
        False i.e. it is a nucleotide package. In general it is best to use
        'is_protein_package' instead.