def get_configuration_attribute(attribute, class_obj, default=None):
    """
    Look for an attribute in a class and return if present
    Otherwise return the specified default

    :param attribute: String - Name of attribute to look for
    :param class_obj: Class - Class to look for attribute
    :param default: String - The default to be returned if the attribute does
      not exist, Default: None
    """
    if hasattr(class_obj, attribute):
        return getattr(class_obj, attribute)
    else:
        return default