def validate_master_agent_lists(master_list, agent_list):
    validate_hosts_list(master_list)
    assert isinstance(agent_list, list), 'agent_list must be provided along with master_list'
    assert len(agent_list) > 0, 'agent_list must have at least one entry'
    compare_lists(master_list, agent_list)
dataset/ETHPy150Open dcos/dcos/ssh/validate.py/validate_master_agent_lists/original