convenience method for Has