Elements that are images or contain images are not empty
use elementIsEmpty instead of manual check