code: public static RuleViolation isOutputStandard(TransactionOutput output) {
          if (output.getValue().compareTo(MIN_ANALYSIS_NONDUST_OUTPUT) < 0)
              return RuleViolation.DUST;
          for (ScriptChunk chunk : output.getScriptPubKey().getChunks()) {
              if (chunk.isPushData() && !chunk.isShortestPossiblePushData())
                  return RuleViolation.SHORTEST_POSSIBLE_PUSHDATA;
          }
          return RuleViolation.NONE;
      }
docs: Checks the output to see if the script violates a standardness rule. Not complete.