is_valid_attr
static int is_valid_attr( char *a );
if ( ! is_valid_attr( str ) ) {
if (!is_valid_attr(str)) {