RPC function vs RoleAuthority check?

I sometimes use this structure in my code base when I don’t specifically care who calls the functions, but who may run the function. For example, if I know a function is going to be called on the server and the client then I may want to avoid an RPC (to save on traffic data).

A RPC function call would indeed achieve the same result, but if you can avoid having to do one; you might as well.