def is_featurelike(feature):
    """Returns true for a Feature-like structure."""
    try:
        return 'geometry' in feature and 'properties' in feature
    except (__HOLE__, TypeError):
        return False
dataset/ETHPy150Open bkg/django-spillway/spillway/collections.py/is_featurelike