Answer
The equation DOES NOT define $y$ as a function of $x$.
Work Step by Step
Solve for $y$ in terms of $x$ to have:
$|y|=-2x$
This equation is a rule that gives two values of $y$ for each valid value of $x$ so the equation does not define $y$ as a function of $x$.