def _is_inline_definition(arg):
 return (isinstance(arg, dict) and (len(arg) == 1) and isinstance(next(six.itervalues(arg)), list))

def _is_inline_definition ( arg ) : return ( isinstance ( arg , dict ) and ( len ( arg ) == 1 ) and isinstance ( next ( six . itervalues ( arg ) ) , list ) )
returns true .