def CheckForSameAlignments(readref, readart):
    """
    Function for comparison of artificial alignments and reference alignments. FP are defined such that start and end position must be unique to the artificial reference
    returns 0 if no same read is found (FP found)
    returns 1 if an equal alignment is found

    @type  readref: read obj.
    @param readref: reference
    @type  readart: read obj.
    @param readart: artificial
    @rtype:   bool
    @return:  Indicator if alignment is the same (start & end equal)
    """
    for i, item in enumerate(readref.start):
        if (readref.start[i] == readart.start[0] and readref.end[i] == readart.end[0]):
            return(1)
    return(0)