That is correct, but for boolean expressions, logical operators etc. it's just the one equal sign.
E.g.
if pilot.sleeping = true then alarm.playing := true;
// This will check if the property "sleeping" of pilot is true and will then set the property "playing" of alarm to true as well.
You could also do a "while" or "repeat .. until" there which would probably better to stop the alarm if the pilot wakes up again (... then alarm.playing := false).It could totally work this way if you programmed a simple flight simulator with Delphi, even today.
BTW, one exception to := in assignments are initialized variables inside a var section:
var
announcement: string = 'Wake up!';