public static boolean isPossessedItem (Entity entity) {
        if (entity instanceof Skeleton) {
            Skeleton lich = (Skeleton) entity;
            if (lich.getEquipment().getChestplate().equals(new ItemStack(Material.GLOWSTONE, 1, (short) - 98789))) {
                return true;
            }
        }
        return false;
    }