code: public static <T extends ItemInfo> Predicate<T> registrationScope(final Class<?> scope) {
          return input -> scope.equals(input.getRegistrationScope());
      }
docs: Filter for items registered by specified context. Context class could be
  {@link io.dropwizard.Application}, {@link ru.vyarus.dropwizard.guice.module.installer.scanner.ClasspathScanner},
  {@link io.dropwizard.Bundle}, {@link ru.vyarus.dropwizard.guice.bundle.GuiceyBundleLookup} and
  classes implementing {@link ru.vyarus.dropwizard.guice.module.installer.bundle.GuiceyBundle}.
  Safe to apply filter for all items.
  <p>
  Note: counts only actual registration, ignoring duplicate (rejected) registrations
  (see {@link #registeredBy(Class)} for filter counting all registrations).
  
  @param scope scope class
  @param <T>   expected info container type (if used within single configuration type)
  @return items registered in specified context filter
  @see ConfigScope for the list of all special scopes