Bukkit/Bukkit — pull request #422 by TomyLobo (2011-11-25 01:13:02+00:00)
Title: Added an isValid() method to Entity.

Here is an according implementation for CraftBukkit:
https://github.com/Bukkit/CraftBukkit/pull/545