The serial.available itself isn't the issue, that returns a TRUE/FALSE
IT DOES NOT! RTFM before spouting such nonsense.