Text this: Method for estimating objective function landscape convexity during extremum search