check if platforms is empty