Use Attribute.IsDefined instead of null checks when looking for attributes' existence