bool hasUsableStringAttribute(String key) { String? value = this[key]; return value is String && value.isNotEmpty; }