I have following function: \begin{equation} \lambda(\xi;\mu) = \mu^{T}\left\{M(\xi) - M(\xi)JM(\xi)\right\}\mu, \end{equation} where $M(\xi) ={\rm{diag}}(\xi_{1},\ldots,\xi_{K})$, and $ J = \mathbf{1}\mathbf{1}^{T}$, where $\mathbf{1}$ is a vector of all one's of length $K$. Additionally $\sum_{i=1}^{K}\xi_{i} = 1$ and $\xi_{i}\geq0$ for $i=1,\ldots,K$.
Is $\lambda(\xi;\mu)$ convex in $\mu$?
I tried by showing $A = M(\xi) - M(\xi)JM(\xi)$ is positive sem-definite matrix but stuck.