public static boolean hasRoleOn(String role, String simpleScope) {
        return securitySupport.hasRole(role, new SimpleScope(simpleScope));
    }
public static boolean hasRoleOn ( String role , String simpleScope ) { return securitySupport . hasRole ( role , new SimpleScope ( simpleScope ) ) ; }
Checks the current user role in the given scopes.

@param role        the role to check
@param simpleScope the simple scope to check this role on.
@return true if the user has the role for the given simple scope.