public static function isSuccessfulWrite($check) { return Hash::get($check, 'error') !== UPLOAD_ERR_CANT_WRITE; }