isEmpty function to check if station is technical