The method of claim 26 wherein said mark is a thin-film pattern made of a conductive material, provided on a surface of a seal extends over the bottom and the lid when sealing the package, and said mark detection sensor detects whether the lid is opened by detecting whether a region where the pattern is attached to the bottom is continuous with a region where the pattern is attached to the lid.