Returns true if type is marked and should be retained.
type
Returns true if member is marked and should be retained.
member