code: def is_valid(self):
          
          valid = np.any((self.points - self.points[0]) != 0)
          return valid
docs: Is the current entity valid.
  
          Returns
          -----------
          valid : bool
            Is the current entity well formed