Basically, MobileFrontEnd PHP codebase has a use case where it would be more efficient to check for emptiness of a collection rather than counting its elements and comparing it to 0. bug: T151797 Change-Id: I309a549c82c0bdd80640f509557f2a48278e13ce