code: def _is_valid_amendment_json(self, json_repr):
          
          amendment = self._coerce_json_to_amendment(json_repr)
          if amendment is None:
              # invalid JSON, definitely broken
              return False
          aa = validate_amendment(amendment)
          errors = aa[0]
          for e in errors:
              _LOG.debug('> invalid JSON: {m}'.format(m=e.encode('utf-8')))
          if len(errors) > 0:
              return False
          return True
docs: Call the primary validator for a quick test