Availability:built-in
term_attvars(Term,[]) in an efficient test that Term 
has
no attributes; scanning the term is aborted after the first 
attributed variable is found.
term_attvars(Term,[]) in an efficient test that Term 
has
no attributes; scanning the term is aborted after the first 
attributed variable is found.