canSetFluid

open fun canSetFluid(amount: Double): Boolean(source)

Checks if a new amount of fluid is greater than zero and fits inside the tank.