has method

bool has(
  1. String key
)

Implementation

bool has(String key) {
  final value = entitlements[key];
  return value is bool && value;
}