Checks if the authenticated user has a specific role.
Express request object.
Role to check.
True if user has the role, false otherwise.
Checks if the authenticated user has a specific role.