peers)) { return false; } foreach ((object) $result->peers as $peer) { switch (false) { case isset($peer->bytes_recvd): case isset($peer->bytes_sent): case isset($peer->remote): case isset($peer->port): case isset($peer->key): case isset($peer->uptime): case !empty($peer->coords): return false; } } return $result->peers; } }