Tests is attribute of input [type = checkbox]