def METHOD_NAME(self, type):
    """
    Takes string of field type and returns a Django Form Field Instance.
    Assumes form field creation functions are in the format:
    'create_fieldtype_field'
    """
    create_field_function = getattr(self, "create_%s_field" % type, None)
    if create_field_function:
        return create_field_function
    else:
        import inspect
        method_list = [
            f[0]
            for f in inspect.getmembers(self.__class__, inspect.isfunction)
            if f[0].startswith("create_") and f[0].endswith("_field")
        ]
        raise AttributeError(
            "Could not find function matching format \
            create_<fieldname>_field for type: "
            + type,
            "Must be one of: " + ", ".join(method_list),
        )