import re
import mimetypes


def is_valid_mime_type(mime_type):
    """
    Checks if mime type given is valid

    :param mime_type: value to check
    :type mime_type: str
    :returns: if the value is valid
    :rtype: bool
    """

    types = re.split(',| ,', mime_type)
    return all([re.match(r'^.+/.+$', m) and m.strip() in mimetypes.types_map.values() for m in types])