use platform_family? instead of platform?