There are two examples of the verb, s'avérer, in this exercise:
1) Et les compétences que j'ai acquises comme avocate se sont avérées inestimables dans ce nouveau domaine.
2) Ce changement se sera avéré être la meilleure chose que tu aies jamais faite.
My dictionary translates s'avérer as "prove to be" or "turn out to be". In the second example, the infinitive être is added to s'avérer whereas in the first it is absent. Is être optional? If the 'to be' is included in the definition, why is être necessary in the second example?