Now detects who (if anyone) is wearing the green hat.