should be checked against ```null```, e.g.
```
if (null !== $this->from) {
```