Cast attribute value as bool. Returns true for attributes with values that start with '1', 't', 'T', 'y', 'Y', returns false for other attributes.