Move method to determine if a member is embedded into MetaDataUtils and
extend it to include "embeddedOnly" detection