This will be always true. You should check if `$data` is `false`.