def getIsMinimumSides(loops, sides=3):
 for loop in loops:
  if (len(loop) < sides):
   return False
 return True

def getIsMinimumSides ( loops , sides = 3 ) : for loop in loops : if ( len ( loop ) < sides ) : return False return True
determine if all the loops have at least the given number of sides .