Using only a graphing calculator, determine whether the functions are inverses of each other.
Consider the function $f$ given by
$$
f(x)=\left\{\begin{array}{ll}
x^{3}+2, & x \leq-1 \\
x^{2}, & -1<x<1 \\
x+1, & x \geq 1
\end{array}\right.
$$
Does $f$ have an inverse that is a function? Why or why not?