Tell if a field is defined on a package type or a base type through metadata


Is there a way to tell, via a type’s field metadata, if a field was created on a package type or on a base type?

For example, in foundation, I have entity type Foo. In my customer package, I have a remix type Foo. On the remix type Foo, I add a field bar. Now, in a client application that is type system aware, is there a way to tell from the FieldType (using C3.type.Foo.fieldTypes() for example) that it has been added on a remix type?