def is_deletion(reference_bases, alternate_bases):
<EOL>if len(alternate_bases) > <NUM_LIT:1>:<EOL><INDENT>return False<EOL><DEDENT>if is_indel(reference_bases, alternate_bases):<EOL><INDENT>alt_allele = alternate_bases[<NUM_LIT:0>]<EOL>if alt_allele is None:<EOL><INDENT>return True<EOL><DEDENT>if len(reference_bases) > len(alt_allele):<EOL><INDENT>return True<EOL><DEDENT>else:<EOL><INDENT>return False<EOL><DEDENT><DEDENT>else:<EOL><INDENT>return False<EOL><DEDENT>
Return whether or not the INDEL is a deletion