protected function isType(FormInterface $type, $typeName)
 {
     return FormHelper::isType($type->getConfig()->getType(), $typeName);
 }