protected static List<String> findMatchingContextKeys(final Pattern check) {
final List<String> matches = new LinkedList<String>();
final BootstrapContext ctx = BootstrapContext.CURRENT.get();
if (ctx != null) {
for (final String k : ctx.keySet()) {
if (check.matcher(k).matches()) {
matches.add(k);
}
}
}