def safeRemoveItemsFromList(listWithItems, itemsToBeRemoved):
    """Removes items from other list with check if it is inside.

    :param list listWithItems: list to be updated
    :param list itemsToBeRemoved: items to be removed
    :return: list without items
    :rtype: list

    >>> safeRemoveItemsFromList([1, 2, 3, 4], [2, 5])
    [1, 3, 4]

    """
    if itemsToBeRemoved:
        for item in itemsToBeRemoved:
            if item in listWithItems:
                listWithItems.remove(item)

    return listWithItems