Gravar-mail: How does a β-hairpin fold/unfold? Competition between topology and heterogeneity in a solvable model