add a has_attr() method to rwhoisobject