def checkListOfObjects(coord, pred):
    """ This method provides checking list of geojson objects such Multipoint or
        MultiLineString that each element of the list is valid geojson object.
        This is helpful method for IsValid.

    :param coord: List of coordinates
    :type coord: list
    :param pred: Predicate to check validation of each member in the coord
    :type pred: function
    :return: True if list contains valid objects, False otherwise
    :rtype: bool
    """
    return not isinstance(coord, list) or not all([pred(ls) for ls in coord])