Let $E$ be a linear subspace of $\mathbb{C}^{n\times n}$. Define the function $\mu_E:\mathbb{C}^{n\times n}\longrightarrow \mathbb{R}_+$ as $$ \mu_E(A)=\frac{1}{\inf\{\|X\|:X\in E\text{ and }\det(I_n-AX)=0\}},\quad A\in \mathbb{C}^{n\times n}. $$ Where $\|.\|$ denotes the operator norm. Can anyone help me in showing that $\mu_E$ is upper semicontinuous? I know that if $\|X\|<1$, then $I_n-X$ is invertible. But this involves invertibility of $I_n-AX$.
Also does $\mu_E$ satisfy the triangular inequality?
Note: I know that $\mu_E(A)=\|A\|$ if $E$ is the whole space $\mathbb{C}^{n\times n}$ and $\mu_E(A)$ is the spectral radius of $A$ if $E$ is the subspace of the scalar multiples of identity.