import socket


def address_in_use(host, port):
    """
    Check to see if there is a listener on host:port.

    :param host: the interface to check;
    :type host: string
    :param port: the post to check;
    :type port: int
    :returns: **True** if there is a listener, else **False**.
    """
    try:
        s__ = socket.create_connection((host, port))
        s__.close()
        return True
    except socket.error:
        return False