code: public boolean matches(String domain) {
          if (pattern != null) {
              return pattern.matcher(domain).matches();
          }
  
          return this.domain.equals(domain);
      }
docs: Tells whether or not the given domain is considered always in scope.
  
  @param domain the domain that will be checked
  @return {@code true} if the domain is considered always in scope, {@code false} otherwise.