title: Explain python cycle with lambdas, please
body: <p>i need to edit code for my needs, but unluckily i don't have a choice to rewrite from zero, so i must understand what is this, because deadline is in 11 hours. halp a junior find his job</p>
  
  <pre><code>    if text and segment:
          if "Office" in segment:
              if True in list(map(lambda x: x in text, _classes[_classB][0])):
                  return "Класс Б"
          if "Warehouse" in segment:
              if True in list(map(lambda x: x in text, _classes[_classB][0])) or \
                      True in list(map(lambda x: x in text and True in [w not in text for w in _classes[_classA][0]], 
                          _classes[_classB][1])):
  
                  return "Class B"    
          return ""
      return ""
  </code></pre>
  
  <p>may you eplain what the hell is </p>
  
  <pre><code> True in list(map(lambda x: x in text and True in [w not in text for w in _classes[_classA][0]],_classes[_classB][1])):
  </code></pre>
  
  <p>or something like "unlambda"? big thanks</p>
  
  <p>UPD: i need to add a rule: "if landsize is >9000 then ..." where landsize in another column"</p>