Minor code sample fix to Transformer.isPrimary example.