code: def isgood(name):
      
      if not isbad(name):
          if name.endswith('.py') or name.endswith('.json') or name.endswith('.tar'):
              return True
      return False
docs: Whether name should be installed