protected function getForceIpv4Flag(ConnectionInterface $connection) { return (bool) $connection->getOption('force-ipv4') ?: false; }