Part 1. Definition
Given an object and a part, decide whether the object has that part. For example if you are asked 'gun has barrel?', you need to decide if a gun has a barrel as one of its components or parts, indicating 1 or 0 as your answer respectively. All sentences strictly follow the template 'object has part?.'
Part 2. Example
truck has gasoline?
Answer: 1
Explanation: Trucks have gasoline, which plays the role of fuel in them, therefore the output of 1 is correct.
Part 3. Exercise
truck has mirror?
Answer:
1