I've never experienced or heard of any airport checking the private contents of people's devices. Wouldn't that be a massive breach of privacy?
Also how would they know it's pirated or not. Wouldn't they have to check for licenses... Wouldn't that be incredibly time consuming for staff to be checking?
Im in serious doubt this would be a thing.