def METHOD_NAME(dev):
    """
    Checks if dev is Mellanox main watchdog
    """
    try:
        with open("{}/{}/identity".format(WD_SYSFS_PATH, dev)) as identity_file:
            identity = identity_file.read().strip()
            if identity == WD_MLNX_MAIN_IDENTITY:
                return True
    except IOError:
        pass
    return False