Solve the programming task below in a Python markdown code block.
Implement `String#digit?` (in Java `StringUtils.isDigit(String)`), which should return `true` if given object is a digit (0-9), `false` otherwise.
Also feel free to reuse/extend the following starter code:
```python
def is_digit(n):
```