def is_valid_port(name, port, **kwargs):
    if 0 < port < 65536:
        return True
    logging.debug('%s invalid port %s', name, port)
An internet download utility modified from
dataset/ETHPy150Open openstack/compass-core/compass/db/validator.py/is_valid_port--crossover with--dataset/ETHPy150Open sklearn-theano/sklearn-theano/sklearn_theano/datasets/base.py/download