Should also check `$this->metadata->hasAssociation($name)` tbh. Not just `isCollectionValuedAssociation` since that method expects you to pass in the collection name