Add two Presence/Absence Tools: one for each of the gasket's two smaller holes.
Set the following Presence/Absence Tool parameters:
Adjust Threshold to look for light pixels.
Adjust Limits so the tool fails when no hole is present.
Add a third Presence/Absence Tool to measure the size of the gasket's center hole.
Adjust Threshold to look for light pixels.
Adjust Limits so the tool fails when the hole is too small.