Gets a property with key. Returns the value as bool.
key
def The default value if key not found.
def
bool? getPropertyAsBool(String key, [bool? def]) => getPropertyAs(key, parseBool, def);