The lady we checked in with wasn't going to allow it since it was expired but ended up accepting a library card instead.
No one else at security or the rest of the trip cared. It may just depend on how much of a power trip the various employees are on that day.