tools: Use isinstance instead of equality for type
Found by flake8: We now check for the value being a tuple using the
proper isinstance()
function.
Tested using:
build/posix/ud3tn -e ipn:1.0 -p 4242 &
python tools/aap/aap_contact_plan_reader.py \
--plan <(echo "a contact +1 +3600 1 2 10000") \
--nodes <(echo "1 mtcp:localhost:4224 tcp localhost 4242\n2 mtcp:localhost:4225 socket ud3tn.socket")
Fixes: https://gitlab.com/d3tn/ud3tn/-/jobs/5808758093
@mnitsch feel free to cherry pick into !155 (merged).