Returns non-null for commands. Next, verify AST structure