In what situations will the tangency condition be sufficient…

In what situations will the tangency condition be sufficient for utility maximization? The tangency condition means the budget line is tangent to the indifference curve. A condition is sufficient if that condition by itself ensures that utility is being maximized.