SAN FRANCISCO — Apple attorneys attempted to derail an employment class action pending in federal court Thursday, arguing the company’s retail employees aren’t entitled to wages for time spent in security checks because the checks aren’t mandatory.

Apple dictates employees who bring bags or personal Apple technology to work must submit to security screenings before leaving the store. But employees who choose not to bring such items are not screened, Julie Dunne, cochairwoman of Littler Mendelson’s retail practice group, told U.S. District Judge William Alsup.