Semidefinite Tests for Quantum Network Topologies