def is_lval(t):
if not t:<EOL><INDENT>return False<EOL><DEDENT>i = iter(t)<EOL>if i.next() not in IDENTIFIER_START:<EOL><INDENT>return False<EOL><DEDENT>return all(e in IDENTIFIER_PART for e in i)<EOL>
Does not chceck whether t is not resticted or internal