When the cover of the cap according to the present invention is unexpectedly open in the course of distribution, the contents of the container does not flow out. The semiconductor device is formed on an insulating substrate. A method is set forth for checking the printability of a target layout proposed for defining the photomask, including the following steps: deriving a system of inequalities that expresses a set of design requirements with respect to the target layout; and checking the printability of the target layout by determining whether the system of inequalities is feasible. The method further includes preparing a second dispersion including one or more types of carbon nanotubes, a second portion of the one or more solvents and a hardener. The coated optical fiber has a good water immersion resistance.