protected function validateCurrentAttribute(array $options)
{
if (!array_key_exists(MBString::strtolower($this->getAttribute()), MBString::array_change_key_case($options))) {
throw new AttributeConverterException(sprintf('You must first define "%s" in the options for this converter.', $this->getAttribute()));
}
}