fix(theme): ensure either() works with false values
fix(theme): ensure either() works with false values

PiperOrigin-RevId: 355036766

material-components/material-components-web,material-components/material-components-web,material-components/material-components-web