public static function validateMultiple($models, $attributeNames = null, $clearErrors = true)
    {
        $valid = true;
        /* @var $model Model */
        foreach ($models as $model) {
            $valid = $model->validate($attributeNames, $clearErrors) && $valid;
        }

        return $valid;
    }