public function isMatcher($value)
{
if (is_object($value)) {
if ($value instanceof Matcher) {
return true;
}
foreach ($this->driverIndex as $className => $driver) {
if (is_a($value, $className)) {
return true;
}
}
}
return false;
}