This function returns one of the following:
0 if value is set.
-1 if the pointer to the Slapi_Value is NULL.