public function validateBIC($BIC)
{
if (array_key_exists('validate', $this->config) && $this->config['validate'] == False) {
return True;
}
$result = preg_match("([a-zA-Z]{4}[a-zA-Z]{2}[a-zA-Z0-9]{2}([a-zA-Z0-9]{3})?)", $BIC);
if ($result > 0 && $result !== false) {
return true;
} else {
return false;
}
}