Added all-is-empty? function, outlined optionally-plant-card function