Yes, it does return false for 0 and for '', thats exactly why i would put it in there:
```if( !empty($sValue) ){``` instead of ```if ( $sValue == '' && $sValue !== 0 && $sValue !== '0' ) {```