This function may be better off in the `OAuth2\Scope` (aka `$scopeUtil`) class