What is Foil ?
Foil is (noun) 1. a thin metal sheet 2. a person who is quite different from another and so makes the other’s qualities stand out Laurel and Hardy were perfect foils for each other. (verb) to stop a plan from being put into effect The bank robbery was foiled by the police. Synonym prevent
source: Easier English, Student Dictionary Upper Intermediate Level