The shorter form using || seems OK to me, I'm not sure if there's an established convention on this in the platform team though.