def is_reserved_with_trailing_underscore(name):
 if (name.endswith(u'_') and (not name.endswith(u'__'))):
  return is_reserved_name(name[:(-1)])
 return False

def is_reserved_with_trailing_underscore ( name ) : if ( name . endswith ( u'_' ) and ( not name . endswith ( u'__' ) ) ) : return is_reserved_name ( name [ : ( - 1 ) ] ) return False
for example .