isUser static method

bool isUser(
  1. int network
)

Check whether the network is a user.

Implementation

static bool isUser(int network) {
  return network & GROUP == USER;
}