Add has methods for attributes and parameters