If I run delete locally does it run beforeDelete on cloud?

I have started working on an iOS app. I want to delete a client and all associated records.

My question is simple. If I run delete locally does it fire the beforeDelete and afterDelete triggers on the cloud?

ex:
self.client deleteInBackgroundWithBlock:^(BOOL succeeded, NSError * _Nullable error) {
if (error) {