check if type name strings are defined in types