this is ``$success || $result``

And if you only return a boolean for the global status, you could make the implementation faster by returning as soon as you find a missing element