Add isValid() to JPacker