change DoctrinNormalizer hasMetadataFor()

hasMetadataFor() only works if the metadata has already been loaded