Fixed #21718 -- Renamed has_app to is_installed.