'Check if this host ID is valid.'

def is_host_valid(self, hostID):

    cur = self.conn.cursor()
    cur.execute('SELECT    *    FROM    hosts    WHERE    id=?    LIMIT    1', [hostID])
    results = cur.fetchall()
    cur.close()
    return (len(results) > 0)
