code: def uint(nstr, schema):
      
      if isinstance(nstr, basestring):
          if not nstr.isdigit():
              return False
          nstr = long(nstr)
      elif not isinstance(nstr, (int, long)):
          return False
  
      return nstr > 0
docs: !~~uint