Definitely does look like it was ripped out of wherever it belongs. The clip to secure the female plug in place is still holding onto the male counterpart.
It's very possible that it's been ripped out from somewhere. A couple weeks ago a taxi clipped my front bumper and literally ripped it out. See this thread: