def cmp_labels(a,b):
    """
    Compare two labels

    :param a: first label
    :param b: second label
    :return: (bool)
    """
    if(a.n== b.n and a.c == b.c):
        return True
    else:
        return False