prepared ReQL for target

def target_query(plugin, port, location):
    """
    prepared ReQL for target
    """
    return ((r.row[PLUGIN_NAME_KEY] == plugin) &
            (r.row[PORT_FIELD] == port) &
            (r.row[LOCATION_FIELD] == location))