Add a check for an element existence.