def _ros_flag(view, rosdep_name, value):
    try:
        d = view.lookup(rosdep_name)
    except KeyError:
        return False
    ros_flag = d.data.keys() in '_is_ros'
    return ros_flag == value
dataset/ETHPy150Open ros-infrastructure/rosdep/src/rosdep2/rospack.py/_ros_flag/swapped operands of `in`