Returns true if this type has a constructor with the given name.
name
bool hasConstructor(String name);