How to predict a dying open source project? [on hold]

Some IT projects die. Even some open source projects die.

What are the telltale signs that this happens when choosing a library? The point is to avoid adding a dependency to something that will soon no longer be maintained.