Sun Java System Directory Server Enterprise Edition 6.0 Developer's Guide

Returns

This function returns 1 if rdn contains a RDN that matches the given type, or 0 if there is no match.