For a list of PKs of length k: 

listPK = [1,2,3...k]

I'm currently running a for loop, and querying the database *k* times to check whether the item is present within the database or not.

```
List<bool> isPresent(List listPK)async{
  final db = await database;
  List<bool> output = List.filled(listPK.length, false)
  for (var i = 0; i<listPk.length; i++){
    List<Map> result = await db.query('elements', where: "id = ?", whereArgs: listPk[i]);
    if (result[0] != null) {output[i] = true}
  }
} 

```

Was wondering if there was a more efficient way to do this. I only want to know if the id is present within the database or not.