def process_articles(articles_list):
    '\n    function that checks the articles and processes them into instances\n    '
    articles_object = []
    for article_item in articles_list:
        author = article_item.get('name')
        title = article_item.get('title')
        description = article_item.get('description')
        url = article_item.get('url')
        image = article_item.get('urlToImage')
        date = article_item.get('publishedAt')
        if image:
            articles_result = Articles(author, title, description, url, image, date)
            articles_object.append(articles_result)
    return articles_object
function that checks the articles and processes them into instances
def process_articles(articles_list):
    '\n    \n    '
    articles_object = []
    for article_item in articles_list:
        author = article_item.get('name')
        title = article_item.get('title')
        description = article_item.get('description')
        url = article_item.get('url')
        image = article_item.get('urlToImage')
        date = article_item.get('publishedAt')
        if image:
            articles_result = Articles(author, title, description, url, image, date)
            articles_object.append(articles_result)
    return articles_object