private boolean isDomainInScope ( String domain ) { for ( String scope : scopes ) { if ( domain . matches ( scope ) ) { return true ; } } return false ; }
Tells whether or not the given domain is one of the domains in scope .