true when the registration was successfully detached.Registration.detach
bool detach() @safeDetach this registration from its source hap.
Detach is idempotent: the first successful call returns true, subsequent calls return false. Detaching after detachAll, after a moved-from state, or when the source hap is no longer alive also returns false.