Revert has_attrs bool checking