def objtag(accessing_obj, accessed_obj, *args, **kwargs):
 return accessed_obj.tags.get(*args)

def objtag ( accessing_obj , accessed_obj , * args , ** kwargs ) : return accessed_obj . tags . get ( * args )
usage: objtag objtag only true if accessed_obj has the specified tag and optional category .