(maint) prefer more readable platform guard