That won't stop a TSA agent from taking it away from you if they decide to do so. Unfortunately, the decisions made at checkpoints are not always consistent.