Added isEqual method for currying example