def equal(a, b):
    """

    :param a: string a
    :param b: string b
    :return: check if string a equals string b ignoring character case
    """
    try:
        return a.upper() == b.upper()
    except AttributeError:
        return a == b