public static function isArray($value, $message = null, $propertyPath = null)
{
if (!is_array($value)) {
$message = sprintf($message ?: 'Value "%s" is not an array.', static::stringify($value));
throw static::createException($value, $message, static::INVALID_ARRAY, $propertyPath);
}
return true;
}