The return value used to be tested which is why developers got in the habit of returning true from views: https://github.com/Elgg/Elgg/blob/1.8/engine/lib/views.php#L491