def cigar_has_insertion(cigar):
    """Check if cigarstring has an I in it. Return boolean"""
    has_insertion = False
    if cigar is not None:
        if 'I' in cigar:
            has_insertion = True
    return has_insertion