Solution: The function is displayed on its boundary here:
The graph confirms there are two local maxima and two local minima:
Maple code
by: nl