Did you check the documentation regarding GetAttributeAsync here ? It clearly says the acceptable arguments could be either string or boolean.
GetAttributeAsync