SharedHap.hasHaps

bool hasHaps() @safe

Determine whether at least one handler is attached.

Returns

true when this hap has one or more attached handlers.