def _is_dunder(name):
 return ((name[:2] == name[(-2):] == '__') and (name[2:3] != '_') and (name[(-3):(-2)] != '_') and (len(name) > 4))

def _is_dunder ( name ) : return ( ( name [ : 2 ] == name [ ( - 2 ) : ] == '__' ) and ( name [ 2 : 3 ] != '_' ) and ( name [ ( - 3 ) : ( - 2 ) ] != '_' ) and ( len ( name ) > 4 ) )
returns true if a __dunder__ name .