Biofilm formation was detected using the tissue culture plate method, which assesses adherence of bacteria to surfaces.