def __menuRequired(self, folders, items, buffer):
if len(folders) > <NUM_LIT:0>:<EOL><INDENT>return True<EOL><DEDENT>if len(items) == <NUM_LIT:1>:<EOL><INDENT>return items[<NUM_LIT:0>].should_prompt(buffer)<EOL><DEDENT>elif len(items) > <NUM_LIT:1>:<EOL><INDENT>return True<EOL><DEDENT>return False<EOL>
@return: a boolean indicating whether a menu is needed to allow the user to choose