The determination of the amount of layilin in a sample. The trait is layilin measurement (EFO_0020529).