Basically yes, but it's an electromechanical device with a trip level of 30 or 100mA (older work). Very old ones had trip levels of 300, 500 or even 1000 mA!
In Austria all receptacles up to 32A rating have to be RCD protected, usually a whole house RCD is used and simultaneously acts as a main switch.