check that element is available