code: public boolean isEmbeddedProperty(String targetTypeName, List<String> namesWithoutAlias) {
  		OgmEntityPersister persister = getPersister( targetTypeName );
  		Type propertyType = persister.getPropertyType( namesWithoutAlias.get( 0 ) );
  		if ( propertyType.isComponentType() ) {
  			// Embedded
  			return true;
  		}
  		else if ( propertyType.isAssociationType() ) {
  			Joinable associatedJoinable = ( (AssociationType) propertyType ).getAssociatedJoinable( persister.getFactory() );
  			if ( associatedJoinable.isCollection() ) {
  				OgmCollectionPersister collectionPersister = (OgmCollectionPersister) associatedJoinable;
  				return collectionPersister.getType().isComponentType();
  			}
  		}
  		return false;
  	}
docs: Checks if the path leads to an embedded property or association.
  
  @param targetTypeName the entity with the property
  @param namesWithoutAlias the path to the property with all the aliases resolved
  @return {@code true} if the property is an embedded, {@code false} otherwise.