def get_mongo_collection(database, collection_name):
    """ Access the collection

    Args:
        database (Database): Database that contains the collection_name
        collection_name (str): collection to be accessed

    Returns:
        Collection: the Collection object
    """
    try:
        return database.get_collection(collection_name)
    except:
        return None