def has_layer(fcollection):
    """Returns true for a multi-layer dict of FeatureCollections."""
    for val in six.viewvalues(fcollection):
        if has_features(val):
            return True
    return False
def has_layer ( fcollection ) : for val in six . viewvalues ( fcollection ) : if has_features ( val ) : return True return False
Returns true for a multi-layer dict of FeatureCollections.