Adding a canDispense function #32