has method

bool has(
  1. String key
)

Implementation

bool has(String key) {
  return key.contains(regex);
}