def has_gis(wrapped, instance, args, kwargs):
    """Skip function execution if there are no presamples"""
    if gis:
        return wrapped(*args, **kwargs)
    else:
        warn(MISSING_GIS)
def has_gis ( wrapped , instance , args , kwargs ) : if gis : return wrapped ( * args , ** kwargs ) else : warn ( MISSING_GIS )
Skip function execution if there are no presamples