def blocksearch(block, name):
if hasattr(block, '<STR_LIT>'):<EOL><INDENT>for b in block.tokens[<NUM_LIT:1>]:<EOL><INDENT>b = (b if hasattr(b, '<STR_LIT>') and b.raw() == name else blocksearch(<EOL>b, name))<EOL>if b:<EOL><INDENT>return b<EOL><DEDENT><DEDENT><DEDENT>return False<EOL>
Recursive search for name in block (inner blocks)
    Args:
        name (str): search term
    Returns:
        Block OR False