def METHOD_NAME(a, b):
    if a is None:
        return b is None
    if a == b:
        return True
    if hasattr(a, "lower") and hasattr(b, "lower"):
        return a.lower() == b.lower()
    return False