hasRole abstract method

bool hasRole(
  1. R role
)

Returns true if the user has the specified role.

Implementation

bool hasRole(R role);