<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 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