Does this function have an inverse function?

Apply the Horizontal Line Test, that is, a function f has an inverse function if and only if no horizontal line intersects the graph of f at more than one point. The horizontal line drawn through the graph (in orange) intersects this function’s graph TWICE; therefore this function f DOES NOT have an inverse function.