Every unit should now have functionality of checking if it has minerals in its hand by calling unit.isCarryingMinerals().