def has_arg_scope(func):
 key_op = (func.__module__, func.__name__)
 return (key_op in _DECORATED_OPS)

def has_arg_scope ( func ) : key_op = ( func . __module__ , func . __name__ ) return ( key_op in _DECORATED_OPS )
checks whether a func has been decorated with @add_arg_scope or not .