[CB-2600] - added in a function that checks platform