Okay I seem to have found an answer! There indeed is a linear time algorithm solving this problem, because the problem I presented is called in the world of science checking if a graph is a scorpion graph!
Here you can find the algorithm I'd been looking for. http://www.cs.cornell.edu/courses/cs681/2007fa/Handouts/scorpion.pdf
Thanks for help!