isCostly

fun isCostly(query: Query): Boolean