Sun Directory Server Enterprise Edition 7.0 Developer's Guide

Returns

This function returns 0 if the entry contains the specified attribute; otherwise it returns -1.