`$branch !== null` instead of `isset($branch)` ?