checking item presence on making link active