code: def isOpen(self):
          
          if self.leftedge and self.rightedge and self.leftedge > self.rightedge:
              return False
      
          if self.leftedge == self.rightedge:
              if self.leftop is gt or self.rightop is lt:
                  return False
  
          return True
docs: Return true if this range has any room in it.