variable instanceof BigNumber does not work as a check for big number objects