We can all imagine driving on a dark highway, seeing lights ahead, and hope to find a good motel to spend the night.
(The last scene of Both films were the same) Because the music that Another Don Felder wrote was a long, mysterious or dynamic song. You could find many words that show the ideas of the horror or occult filmes in those days.
You can check out any time but you can't never leave!
That means these influences must had made Don Henley write the lyrics of the song before the album 'Hotel California' came out in 1976.
I think that these influences appeared on the single 'One Of These Nights' in 1975.