private static boolean isSanitizedContentOfKind ( SoyValue value , SanitizedContent . ContentKind kind ) { return value instanceof SanitizedContent && kind == ( ( SanitizedContent ) value ) . getContentKind ( ) ; }
True iff the given value is sanitized content of the given kind .