private static boolean objectsEqual(Object a, Object b) {
    return a == b || (a != null && a.equals(b));
  }
Checks the two objects for equality by delegating to their respective
{@link Object#equals(Object)} methods.

@param o the {@link Pair} to which this one is to be checked for equality
@return true if the underlying objects of the Pair are both considered
equal
lottie/src/main/java/com/airbnb/lottie/model/MutablePair.java