isUsing

fun isUsing(resource: Resource): Boolean

Checks if the entity is using (has allocated units) the specified resource.