Implement h_attr_bool.