<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def validate_meta(meta):
 """ Validates Linguist Meta attribute. """

    if not isinstance(meta, (dict,)):
        raise TypeError('Model Meta "linguist" must be a dict')

    required_keys = ("identifier", "fields")

    for key in required_keys:
        if key not in meta:
            raise KeyError('Model Meta "linguist" dict requires %s to be defined', key)

    if not isinstance(meta["fields"], (list, tuple)):
        raise ImproperlyConfigured(
            "Linguist Meta's fields attribute must be a list or tuple"
        )