Look up the value for key
on this and convert it to an boolean.
This is done by doing a case-insensitive string comparison on the string value against "1" and "true".
this |
A Device. |
key |
Name of property. |
The value for |