Modify conditional amd move it to a method called isPrintable