public static function validateImage(Controls\UploadControl $control) { foreach (static::toArray($control->getValue()) as $file) { if (!$file->isImage()) { return FALSE; } } return TRUE; }