check if obj is a bigint.