No matches were found for subject:"mm\: move common segment checks to separate helper function"