A possible criterion for envelope ejection in asymptotic giant branch or first giant branch stars | Synapse