def features_of(geojson):
    """ Find all Features in a valid GeoJSON object. """
    features = []
    if geojson['type'] == 'Feature':
        features.append(geojson)
    elif geojson['type'] == 'FeatureCollection':
        features += geojson['features']
    return features
