@staticmethod
def validate_mime_type(mimetype):
    """Validate the mimetype string."""
    valid_prefixes = ['application', 'audio', 'font', 'example', 'image',
        'message', 'model', 'mulitpart', 'text', 'video']
    validated = False
    for prefix in valid_prefixes:
        if prefix + '/' == mimetype[:len(prefix) + 1]:
            validated = True
    return validated
