Electrical certificate

Can anyone tell me please is it law that any landlord letting out a property in wales should have a electrical certificate?