(2) a custom or practice in effect, at the time of such activity, at the establishment or other place where such employee is employed, covering such activity, not inconsistent with a written or nonwritten contract, in effect at the time of such activity, between such employee, his agent, or collective-bargaining representative and his employer.