A sharp stability criterion for single well Duffing and Duffing-like equations. (January 2020)