def environmentfunction(f):
 f.environmentfunction = True
 return f

def environmentfunction ( f ) : f . environmentfunction = True return f
this decorator can be used to mark a function or method as environment callable .