bluetooth.available()>=2

I found this code online to control 3 servos with bluetooth

I want to know what does "bluetooth.available()>=2" mean?,thank you

#include <SoftwareSerial.h> // TX RX software library for bluetooth

#include <Servo.h> // servo library
Servo myservo1, myservo2, myservo3; // servo name

int bluetoothTx = 2; // bluetooth tx to 10 pin
int bluetoothRx = 5; // bluetooth rx to 11 pin

SoftwareSerial bluetooth(bluetoothTx, bluetoothRx);

void setup()
{
myservo1.attach(6); // attach servo signal wire to pin 9
myservo2.attach(10);
myservo3.attach(11);
//Setup usb serial connection to computer
Serial.begin(9600);

//Setup Bluetooth serial connection to android
bluetooth.begin(9600);
}

void loop()
{
//Read from bluetooth and write to usb serial
if(bluetooth.available()>=2 )
{
unsigned int servopos = bluetooth.read();
unsigned int servopos1 = bluetooth.read();
unsigned int realservo = (servopos1 *256) + servopos;
Serial.println(realservo);

if (realservo >= 1000 && realservo <1180) {
int servo1 = realservo;
servo1 = map(servo1, 1000, 1180, 0, 180);
myservo1.write(servo1);
Serial.println("Servo 1 ON");
delay(10);
}
if (realservo >= 2000 && realservo <2180) {
int servo2 = realservo;
servo2 = map(servo2, 2000, 2180, 0, 180);
myservo2.write(servo2);
Serial.println("Servo 2 ON");
delay(10);
}
if (realservo >= 3000 && realservo <3180) {
int servo3 = realservo;
servo3 = map(servo3, 3000, 3180, 0, 180);
myservo3.write(servo3);
Serial.println("Servo 3 ON");
delay(10);
}
}
}

With this line
SoftwareSerial bluetooth(bluetoothTx, bluetoothRx);you define a new serial port called bluetooth. It's not a HW but a SW emulated serial port.

The SoftwareSerial has an instruction called available() which gets the number of bytes (characters) available for reading from a software serial port.

So the line tests if the number of bytes currently in the serial buffer is greater than 2.

lesept:
With this line
SoftwareSerial bluetooth(bluetoothTx, bluetoothRx);you define a new serial port called bluetooth. It's not a HW but a SW emulated serial port.

The SoftwareSerial has an instruction called available() which gets the number of bytes (characters) available for reading from a software serial port.

So the line tests if the number of bytes currently in the serial buffer is greater than 2.

Hi.
Regarding this part of the code that is understood by it ?. Thank you.

SoftwareSerial bluetooth(bluetoothTx, bluetoothRx);

It makes more sense to give the pins names that relate to how SoftwareSerial uses them rather than how the external device uses them, assuming of course that you have not simply made a mistake.