Adding a hasTrait option that is passed into the options object and then into traits