def valid_format(filename, osys=None):
    m_windows = re.search(windows_regex, filename)
    m_linux = re.search(linux_regex, filename)
    m_osx = re.search(osx_regex, filename)
    if any((m_windows, m_linux, m_osx)):
        return True
    else:
        return False
Check for valid bundle format
dataset/ETHPy150Open TheTorProject/gettor/gettor/utils.py/valid_format