you can use `c.input.isspace()` here