/*
 * call-seq:
 *      safe? -> bool
 *
 * +true+ iff the message's service type is Spread::SAFE_MESS.
 */
static VALUE
data_msg_is_safe(VALUE obj)
{
    struct SpreadMessage *sp_mess;

    Data_Get_Struct(obj, struct SpreadMessage, sp_mess);
    return INT2BOOL(Is_safe_mess(sp_mess->service_type));
}