code: def isOrderFixed(self):
          
          return (self == PortConstraints.FIXED_ORDER
                  or self == PortConstraints.FIXED_RATIO
                  or self == PortConstraints.FIXED_POS)
docs: Returns whether the order of ports is fixed.
  
          @return true if the order of ports is fixed