Checks if the given value is a valid platform identifier.
The platform string to validate
true if the value is arch, nixos, or nix
true
arch
nixos
nix
Checks if the given value is a valid platform identifier.