Method to get an attribute as boolean and returns a default value if the attribute was not specified.
Authored by: josefjordan 2023-09-22
Parent: [r365]
Child: [r367]