def mime_to_pltfrm(mime_string):
    """
    Translates MIME types to platform names used
    by tng-cat. Returns: 5gtango|osm|onap
    """
    pattern = ["5gtango", "osm", "onap"]
    for p in pattern:
        if p in str(mime_string).lower():
            return p
    return None