Shorthand helper to check for String properties.
bool has(String property) => hasProperty(property.toJS).toDart;