def get_attribute(klass:, name:)
      get_attributes(klass).detect { |a| a[:name] == name } ||
        raise(ClassKit::Exceptions::AttributeNotFoundError, "Attribute: #{name}, could not be found.")
    end
def get_attribute(klass:, name:)
      get_attributes(klass).detect { |a| a[:name] == name } ||
        raise(ClassKit::Exceptions::AttributeNotFoundError, "Attribute: #{name}, could not be found.")
    end
Get attribute for a given class and name

 @param klass [ClassKit] a class that has been extended with ClassKit
 @param name [Symbol] an attribute name

 @raise [ClassKit::Exceptions::AttributeNotFoundError] if the given attribute could not be found

 @return [Hash] that describes the attribute