code: def remove_temporalRelations_layer(self):
          
          if self.temporalRelations_layer is not None:
              this_node = self.temporalRelations_layer.get_node()
              self.root.remove(this_node)
              self.temporalRelations_layer = None
  
          if self.header is not None:
              self.header.remove_lp('temporalRelations')
docs: Removes the temporalRelations layer (if exists) of the object (in memory)