static protected function isValid(Smd $smd, \ReflectionClass $reflectedclass)
    {
        $validator = $smd->getServiceValidator();
        if ($validator && is_callable($validator)) {
            if ( call_user_func_array($validator, [$reflectedclass]) === false ) {
                return false;
            }
        }
        return true;
    }