def METHOD_NAME(address, port):
    """
    Try to do a socket connect
    :param address: The ip address to connect to
    :param port: The port to connect to
    :return: True on successful connection, False if failed
    """
    try:
        s = socket.create_connection((address, port))
    except Exception:
        return False
    s.shutdown(socket.SHUT_RDWR)
    s.close()
    return True