Remove isPrintable() method, just use hasClass() method