code: def match_field(field_class):
      
      for cls in field_class.mro():
          if cls in list(LOOKUP_TABLE.keys()):
              return cls
      # could not match the field class
      raise Exception('{0} None Found '.format(field_class))
docs: Iterates the field_classes and
      returns the first match