as this is only used internally? cant you not just use a variable?

if (registration_finalized_)?