isUsing

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

Parameters

entity

the entity that might be using the resource