Should be

```php
return false !== strpos($value, 'mail');
```

to be consistent with the Symfony coding standards.